// RUN: %clang_cc1 -verify %s template struct S { static int a, b; }; template int S::a, S::b; // expected-error {{can only declare a single entity}} template struct A { static A a; } A::a; // expected-error {{expected ';' after struct}} \ expected-error {{use of undeclared identifier 'T'}} \ expected-error{{extra qualification}} template struct B { } f(); // expected-error {{expected ';' after struct}} \ expected-error {{requires a type specifier}} template struct C { } // expected-error {{expected ';' after struct}} A c;