1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc int a<::> = { 1, 2, 3 }; 4*f4a2713aSLionel Sambuc int b = a<:::a<:0:>:>; 5*f4a2713aSLionel Sambuc bool c = a<:0:><::b; 6*f4a2713aSLionel Sambuc f()7*f4a2713aSLionel Sambuctemplate<int &n> void f() {} 8*f4a2713aSLionel Sambuc template void f<::b>(); 9*f4a2713aSLionel Sambuc 10*f4a2713aSLionel Sambuc #define x a<:: ## : b :> 11*f4a2713aSLionel Sambuc int d = x; // expected-error {{pasting formed ':::', an invalid preprocessing token}} expected-error {{expected unqualified-id}} 12*f4a2713aSLionel Sambuc 13*f4a2713aSLionel Sambuc const char xs[] = R"(\ 14*f4a2713aSLionel Sambuc ??=\U0000)"; 15*f4a2713aSLionel Sambuc static_assert(sizeof(xs) == 12, "did not revert all changes"); 16