diff options
author | John McCall <rjmccall@apple.com> | 2010-01-12 01:09:12 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-01-12 01:09:12 +0000 |
commit | 4248491ce435bf6c96dcd79149863f4c7e9cabfa (patch) | |
tree | 807b88f9a079a2903f86ba3a6efe64914d49dd0d /test/SemaCXX/conditional-expr.cpp | |
parent | bf65c0bb5705430aa7d9a16ca5d441f0cb15071d (diff) |
Chris thinks these diagnostics are better now. :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93216 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/conditional-expr.cpp')
-rw-r--r-- | test/SemaCXX/conditional-expr.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/SemaCXX/conditional-expr.cpp b/test/SemaCXX/conditional-expr.cpp index 8eaff784da..b71133bfee 100644 --- a/test/SemaCXX/conditional-expr.cpp +++ b/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}} |