diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2012-02-29 12:47:43 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2012-02-29 12:47:43 +0000 |
commit | c7b718eb538a0a1a5110000778e646fb039bdd68 (patch) | |
tree | c76f0512d6883bb36055727dd8b92ac02d43c222 /clang/test/SemaCXX/cxx0x-initializer-constructor.cpp | |
parent | 972720e564cafce78c0cbed78fee42cbd93ea88b (diff) | |
download | bcm5719-llvm-c7b718eb538a0a1a5110000778e646fb039bdd68.tar.gz bcm5719-llvm-c7b718eb538a0a1a5110000778e646fb039bdd68.zip |
Tentatively fix PR12117. The test case from the bug now passes, and all existing tests still pass, but there may still be corner cases.
llvm-svn: 151716
Diffstat (limited to 'clang/test/SemaCXX/cxx0x-initializer-constructor.cpp')
-rw-r--r-- | clang/test/SemaCXX/cxx0x-initializer-constructor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp b/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp index 5e686d7152d..14420d94dd9 100644 --- a/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp +++ b/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp @@ -212,3 +212,9 @@ namespace PR12092 { } } + +namespace PR12117 { + struct A { A(int); }; + struct B { B(A); } b{{0}}; + struct C { C(int); } c{0}; +} |