Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

instantiate-overloaded-arrow.cpp
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
// PR5488

struct X {
  int x;
};

struct Iter {
  X* operator->();
};

template <typename T>
void Foo() {
  (void)Iter()->x;
}

void Func() {
  Foo<int>();
}