commit | 95e5510ee07c465abdcc458fabfd93cf09d90125 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Oct 21 15:47:52 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Oct 21 15:47:52 2011 +0000 |
tree | ebab34b512df5a50e73da42bcf1c716593089859 | |
parent | 7a8a2e3c7ff283bc98b5292b6a579d4fca63e36b [diff] [blame] |
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
diff --git a/test/SemaTemplate/class-template-decl.cpp b/test/SemaTemplate/class-template-decl.cpp index 2e84e93..38b1778 100644 --- a/test/SemaTemplate/class-template-decl.cpp +++ b/test/SemaTemplate/class-template-decl.cpp
@@ -74,3 +74,4 @@ Foo<int>::Bar<int> y(x); } } +