diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-06-17 23:37:01 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-06-17 23:37:01 +0000 |
commit | f187420feb5429f97533cac1e160d08c2b9cb47a (patch) | |
tree | d78bf394ad70392fdad746ab08f7b37c2a3e85ea /clang/test/SemaTemplate/nested-template.cpp | |
parent | 4dd5b57ef43f17a65abe7e8c246bf30f96648e0c (diff) | |
download | bcm5719-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.cpp | 2 |
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; |