Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

pragma-weak.cpp
// RUN: %clang_cc1 %s

#pragma weak foo
static void foo();
extern "C" {
  void foo() {
  };
}

extern "C" int Test;
#pragma weak test = Test