summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp
diff options
context:
space:
mode:
authorLarisse Voufo <lvoufo@google.com>2015-02-10 02:20:14 +0000
committerLarisse Voufo <lvoufo@google.com>2015-02-10 02:20:14 +0000
commitbcf327af7b922955c1853666ea803b1e22420034 (patch)
tree793302743bead8b826fdd0b7de01a9a8177b32f8 /clang/test/SemaCXX/cxx0x-initializer-constructor.cpp
parent87661fb96386509a3c061cbe4ce05a5bc01ab5ea (diff)
downloadbcm5719-llvm-bcf327af7b922955c1853666ea803b1e22420034.tar.gz
bcm5719-llvm-bcf327af7b922955c1853666ea803b1e22420034.zip
A temporary fix for backward compatibility breakages caused by PR12117.
llvm-svn: 228654
Diffstat (limited to 'clang/test/SemaCXX/cxx0x-initializer-constructor.cpp')
-rw-r--r--clang/test/SemaCXX/cxx0x-initializer-constructor.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp b/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp
index b481865d844..0cd5aa7401a 100644
--- a/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp
+++ b/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp
@@ -214,9 +214,10 @@ namespace PR12092 {
namespace PR12117 {
struct A { A(int); };
- struct B { B(A); } b{{0}}; // expected-error {{call to constructor of 'struct B' is ambiguous}} \
- // expected-note 2{{candidate is the implicit}} \
- // expected-note {{candidate constructor}}
+ struct B { B(A); } b{{0}}; //FIXME: non-conformant. Temporary fix until standard resolution.
+ // expected- error {{call to constructor of 'struct B' is ambiguous}} \
+ // expected- note 2{{candidate is the implicit}} \
+ // expected- note {{candidate constructor}}
struct C { C(int); } c{0};
}
OpenPOWER on IntegriCloud