[cfe-commits] r102248 - /cfe/trunk/test/SemaTemplate/elaborated-type-specifier.cpp
Douglas Gregor
dgregor at apple.com
Sat Apr 24 09:40:35 PDT 2010
Author: dgregor
Date: Sat Apr 24 11:40:35 2010
New Revision: 102248
URL: http://llvm.org/viewvc/llvm-project?rev=102248&view=rev
Log:
Tweak test case slightly
Modified:
cfe/trunk/test/SemaTemplate/elaborated-type-specifier.cpp
Modified: cfe/trunk/test/SemaTemplate/elaborated-type-specifier.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/elaborated-type-specifier.cpp?rev=102248&r1=102247&r2=102248&view=diff
==============================================================================
--- cfe/trunk/test/SemaTemplate/elaborated-type-specifier.cpp (original)
+++ cfe/trunk/test/SemaTemplate/elaborated-type-specifier.cpp Sat Apr 24 11:40:35 2010
@@ -31,5 +31,6 @@
namespace PR6649 {
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 { int x; }; // expected-error{{nested name specifier for a declaration cannot depend on a template parameter}}
};
}
More information about the cfe-commits
mailing list