1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
9 static T
* static_member
;
12 template class X0
<int(int)>; // ok; nothing gets instantiated.
15 struct X0
<T
>::MemberClass
{
20 T
* X0
<T
>::f0(T
* ptr
) {
25 T
* X0
<T
>::static_member
= 0;
27 template class X0
<int>; // ok
33 e
= T::error
// expected-error 2{{no members}}
36 template struct X1
<int>; // expected-note {{here}}
38 extern template struct X1
<char>; // ok
40 template struct X1
<char>; // expected-note {{here}}