Create a new channel as a copy of main.
Rename main to:
Delete main? This cannot be undone.
// RUN: %clang_cc1 %s -emit-llvm -o - | grep TheGlobal | not grep weak extern int TheGlobal; int foo(void) { return TheGlobal; } int TheGlobal = 1;