Tweak test case slightly

llvm-svn: 102248
This commit is contained in:
Douglas Gregor 2010-04-24 16:40:35 +00:00
parent ba41d01b59
commit 32f21a63ea
1 changed files with 1 additions and 0 deletions

View File

@ -31,5 +31,6 @@ struct DeclOrDef {
namespace PR6649 { namespace PR6649 {
template <typename T> struct foo { template <typename T> struct foo {
class T::bar; // expected-error{{nested name specifier for a declaration cannot depend on a template parameter}} class T::bar; // expected-error{{nested name specifier for a declaration cannot depend on a template parameter}}
class T::bar { int x; }; // expected-error{{nested name specifier for a declaration cannot depend on a template parameter}}
}; };
} }