summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/nested-template.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-06-17 23:37:01 +0000
committerDouglas Gregor <dgregor@apple.com>2009-06-17 23:37:01 +0000
commitf187420feb5429f97533cac1e160d08c2b9cb47a (patch)
treed78bf394ad70392fdad746ab08f7b37c2a3e85ea /clang/test/SemaTemplate/nested-template.cpp
parent4dd5b57ef43f17a65abe7e8c246bf30f96648e0c (diff)
downloadbcm5719-llvm-f187420feb5429f97533cac1e160d08c2b9cb47a.tar.gz
bcm5719-llvm-f187420feb5429f97533cac1e160d08c2b9cb47a.zip
Diagnose class members that shadow a template parameter. Fixes
<rdar://problem/6952203>. To do this, we actually remove a not-quite-correct optimization in the C++ name lookup routines. We'll revisit this optimization for the general case once more C++ is working. llvm-svn: 73659
Diffstat (limited to 'clang/test/SemaTemplate/nested-template.cpp')
-rw-r--r--clang/test/SemaTemplate/nested-template.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaTemplate/nested-template.cpp b/clang/test/SemaTemplate/nested-template.cpp
index bd9e89f76a0..84b1d35ba91 100644
--- a/clang/test/SemaTemplate/nested-template.cpp
+++ b/clang/test/SemaTemplate/nested-template.cpp
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: clang-cc -fsyntax-only -verify %s
class A;
OpenPOWER on IntegriCloud