From c7b718eb538a0a1a5110000778e646fb039bdd68 Mon Sep 17 00:00:00 2001 From: Sebastian Redl Date: Wed, 29 Feb 2012 12:47:43 +0000 Subject: 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 --- clang/test/SemaCXX/cxx0x-initializer-constructor.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'clang/test/SemaCXX/cxx0x-initializer-constructor.cpp') 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}; +} -- cgit v1.2.3