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 | 51ad9cd0644c9acf442f049aed98b66f7b1041a2 (patch) | |
tree | 6563eb1f5b0c564aa5af61048ad85257f47d394a /test/SemaCXX/cxx0x-initializer-constructor.cpp | |
parent | 16f1f717af196b1448258857b2e6dcfe144b39d0 (diff) |
Tentatively fix PR12117. The test case from the bug now passes, and all existing tests still pass, but there may still be corner cases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151716 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/cxx0x-initializer-constructor.cpp')
-rw-r--r-- | test/SemaCXX/cxx0x-initializer-constructor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/SemaCXX/cxx0x-initializer-constructor.cpp b/test/SemaCXX/cxx0x-initializer-constructor.cpp index 5e686d7152..14420d94dd 100644 --- a/test/SemaCXX/cxx0x-initializer-constructor.cpp +++ b/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}; +} |