diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-10-21 15:47:52 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-10-21 15:47:52 +0000 |
commit | 95e5510ee07c465abdcc458fabfd93cf09d90125 (patch) | |
tree | ebab34b512df5a50e73da42bcf1c716593089859 /test/SemaTemplate/class-template-decl.cpp | |
parent | 7a8a2e3c7ff283bc98b5292b6a579d4fca63e36b (diff) |
When performing name lookup for the previous declaration of a field,
be sure to consider all of the possible lookup results. We were
assert()'ing (but behaving correctly) for unresolved values. Fixes
PR11134 / <rdar://problem/10290422>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142652 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/class-template-decl.cpp')
-rw-r--r-- | test/SemaTemplate/class-template-decl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/SemaTemplate/class-template-decl.cpp b/test/SemaTemplate/class-template-decl.cpp index 2e84e93ead..38b1778abf 100644 --- a/test/SemaTemplate/class-template-decl.cpp +++ b/test/SemaTemplate/class-template-decl.cpp @@ -74,3 +74,4 @@ namespace PR8001 { Foo<int>::Bar<int> y(x); } } + |