1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// RUN: clang-cc -fsyntax-only %s template<typename T> struct X0 { }; struct X1 { }; struct Y { template<typename T> union X0; template<typename T> friend union X0; union X1; friend union X1; }; // FIXME: Woefully inadequate for testing