diff options
author | John McCall <rjmccall@apple.com> | 2010-04-23 18:46:30 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-04-23 18:46:30 +0000 |
commit | e87beb25918543e89d3526e57d77c89d69ec1312 (patch) | |
tree | 0251d5bd99cb8a68c6e52d722f14e09363b46de9 /clang/test/SemaCXX/constructor-initializer.cpp | |
parent | 126a58e08421432a138f283ba4d572b7fc05db88 (diff) | |
download | bcm5719-llvm-e87beb25918543e89d3526e57d77c89d69ec1312.tar.gz bcm5719-llvm-e87beb25918543e89d3526e57d77c89d69ec1312.zip |
Recommit my change to how C++ does elaborated type lookups, now with
two bugfixes which fix selfhost and (hopefully) the nightly tests.
llvm-svn: 102198
Diffstat (limited to 'clang/test/SemaCXX/constructor-initializer.cpp')
-rw-r--r-- | clang/test/SemaCXX/constructor-initializer.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/constructor-initializer.cpp b/clang/test/SemaCXX/constructor-initializer.cpp index e256d9f0b30..ff963a9bce2 100644 --- a/clang/test/SemaCXX/constructor-initializer.cpp +++ b/clang/test/SemaCXX/constructor-initializer.cpp @@ -182,3 +182,10 @@ struct B { }; } + +namespace test1 { + struct A { + enum Kind { Foo } Kind; + A() : Kind(Foo) {} + }; +} |