diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-02-03 19:26:08 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-02-03 19:26:08 +0000 |
commit | e2c565d488bc74a506d49fe37df4268fa35637b3 (patch) | |
tree | ed147ad41097548ff9d09f75a2f835d45acc2e47 /test/SemaCXX/using-directive.cpp | |
parent | 2a3009a432bdcec59e6383d7b2b17494d6f91649 (diff) |
When looking for a tag name via unqualified name lookup, only look in
scopes where the name would be considered a redeclaration if we know
that we're declaring or defining that tag.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63647 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/using-directive.cpp')
-rw-r--r-- | test/SemaCXX/using-directive.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/using-directive.cpp b/test/SemaCXX/using-directive.cpp index f00209863d..baf5d58126 100644 --- a/test/SemaCXX/using-directive.cpp +++ b/test/SemaCXX/using-directive.cpp @@ -69,6 +69,6 @@ class X { namespace N { // FIXME: both of these should work, but they currently cause an ambiguity. - // struct K2; - // struct K2 { }; + struct K2; + struct K2 { }; } |