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 | c19ee3eb08ce1d77504d5fc27f7c44b94543221b (patch) | |
tree | 0f052fcc1c2f2c1deab4d2ff4e82defa883ccad9 /test/SemaTemplate/nested-template.cpp | |
parent | 6a6170ca75f1b5a1c768803462ccd27b58b4d196 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/nested-template.cpp')
-rw-r--r-- | test/SemaTemplate/nested-template.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaTemplate/nested-template.cpp b/test/SemaTemplate/nested-template.cpp index bd9e89f76a..84b1d35ba9 100644 --- a/test/SemaTemplate/nested-template.cpp +++ b/test/SemaTemplate/nested-template.cpp @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only %s +// RUN: clang-cc -fsyntax-only -verify %s class A; |