summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-04-24 16:40:35 +0000
committerDouglas Gregor <dgregor@apple.com>2010-04-24 16:40:35 +0000
commit32f21a63ea687bd70bc493e4ffe125d8ace3eba2 (patch)
tree4dac61a0800aa7d426b9a6bfd0942c4a0615e670
parentba41d01b5970dc9d741bf6c9b308f6e75121d942 (diff)
downloadbcm5719-llvm-32f21a63ea687bd70bc493e4ffe125d8ace3eba2.tar.gz
bcm5719-llvm-32f21a63ea687bd70bc493e4ffe125d8ace3eba2.zip
Tweak test case slightly
llvm-svn: 102248
-rw-r--r--clang/test/SemaTemplate/elaborated-type-specifier.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/SemaTemplate/elaborated-type-specifier.cpp b/clang/test/SemaTemplate/elaborated-type-specifier.cpp
index c38bf547a1b..b34660acbea 100644
--- a/clang/test/SemaTemplate/elaborated-type-specifier.cpp
+++ b/clang/test/SemaTemplate/elaborated-type-specifier.cpp
@@ -31,5 +31,6 @@ struct DeclOrDef {
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}}
};
}
OpenPOWER on IntegriCloud