Home | History | Annotate | Download | only in lex.pptoken
      1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
      2 
      3 int a<::> = { 1, 2, 3 };
      4 int b = a<:::a<:0:>:>;
      5 bool c = a<:0:><::b;
      6 
      7 template<int &n> void f() {}
      8 template void f<::b>();
      9 
     10 #define x a<:: ## : b :>
     11 int d = x; // expected-error {{pasting formed ':::', an invalid preprocessing token}} expected-error {{expected unqualified-id}}
     12