From c54cf7373f916aa7d3c1e1c70656cb1b4b601c05 Mon Sep 17 00:00:00 2001 From: John McCall Date: Tue, 12 Jan 2010 01:09:12 +0000 Subject: Chris thinks these diagnostics are better now. :) llvm-svn: 93216 --- clang/test/SemaCXX/conditional-expr.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/test/SemaCXX/conditional-expr.cpp') diff --git a/clang/test/SemaCXX/conditional-expr.cpp b/clang/test/SemaCXX/conditional-expr.cpp index 8eaff784da6..b71133bfeec 100644 --- a/clang/test/SemaCXX/conditional-expr.cpp +++ b/clang/test/SemaCXX/conditional-expr.cpp @@ -128,7 +128,6 @@ void test() // "the type [it] woud have if E2 were converted to an rvalue" vfn pfn = i1 ? F() : test; pfn = i1 ? test : F(); - // these are ambiguous - better messages would be nice (void)(i1 ? A() : B()); // expected-error {{conversion from 'struct B' to 'struct A' is ambiguous}} (void)(i1 ? B() : A()); // expected-error {{conversion from 'struct B' to 'struct A' is ambiguous}} (void)(i1 ? 1 : Ambig()); // expected-error {{conversion from 'struct Ambig' to 'int' is ambiguous}} -- cgit v1.2.3