Add test.

llvm-svn: 184465
This commit is contained in:
Eli Friedman 2013-06-20 20:56:57 +00:00
parent 4a3365c869
commit 65615d4017
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ namespace PR10896 {
template<typename T>
T SomeField; // expected-error {{member 'SomeField' declared as a template}}
template<> int SomeField2; // expected-error {{extraneous 'template<>' in declaration of member 'SomeField2'}}
};
void g() {