1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 template<typename T=int> struct S {};
4 template<typename> void f();
7 foo<<<1; // expected-error {{expected '>>>'}} expected-note {{to match this '<<<'}}
9 foo<<<1,1>>>; // expected-error {{expected '('}}
11 foo<<<>>>(); // expected-error {{expected expression}}
15 (void)(&f<S<S<int>>>==0);
16 (void)(&f<S<S<>>>==0);