From: Douglas Gregor Date: Sat, 24 Apr 2010 16:40:35 +0000 (+0000) Subject: Tweak test case slightly X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c70e93c8b1e9dc566bb9a31951c21de7a166d4ac;p=clang Tweak test case slightly git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102248 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaTemplate/elaborated-type-specifier.cpp b/test/SemaTemplate/elaborated-type-specifier.cpp index c38bf547a1..b34660acbe 100644 --- a/test/SemaTemplate/elaborated-type-specifier.cpp +++ b/test/SemaTemplate/elaborated-type-specifier.cpp @@ -31,5 +31,6 @@ struct DeclOrDef { namespace PR6649 { template struct foo { 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}} }; }