commit | 0d6b1640eb4d1a4a0203235cfdfcdaf3335af36d | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Fri Apr 23 18:46:30 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Fri Apr 23 18:46:30 2010 +0000 |
tree | 54b55e627cc1c6d8f8d143ee0344834dfded3edb | |
parent | 055117640dabf88e4e7d35e72c98a5f3bbdac256 [diff] [blame] |
Recommit my change to how C++ does elaborated type lookups, now with two bugfixes which fix selfhost and (hopefully) the nightly tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102198 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/constructor-initializer.cpp b/test/SemaCXX/constructor-initializer.cpp index e256d9f..ff963a9 100644 --- a/test/SemaCXX/constructor-initializer.cpp +++ b/test/SemaCXX/constructor-initializer.cpp
@@ -182,3 +182,10 @@ }; } + +namespace test1 { + struct A { + enum Kind { Foo } Kind; + A() : Kind(Foo) {} + }; +}