Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

reference-temporary-ms.cpp
// RUN: %clang_cc1 -no-opaque-pointers -emit-llvm %s -o - -triple=i386-pc-win32 -fms-extensions | FileCheck %s

const int __declspec(dllexport) &Exported = 42;

// The reference temporary shouldn't be dllexport, even if the reference is.
// CHECK: @"?$RT1@Exported@@3ABHB" = internal constant i32 42

// CHECK: @"?Exported@@3ABHB" = dso_local dllexport constant i32* @"?$RT1@Exported@@3ABHB"