diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-27 22:23:41 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-27 22:23:41 +0000 |
commit | 757f2b35e56a25143c1d2c1b8623f0cb3cb2230d (patch) | |
tree | 8d1bcc296b2e19890eba09e741714891d00a0f28 /libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool_neg.cc | |
parent | 104c1b57db32ce503253614374a64f6b14cfb5fc (diff) | |
download | gcc-757f2b35e56a25143c1d2c1b8623f0cb3cb2230d.tar.gz |
* call.c (implicit_conversion): Handle conversion from
initializer-list to scalar.
(convert_like_real): Likewise. Avoid crashing on list
initialization with bad conversions.
(can_convert): Use LOOKUP_EXPLICIT.
(can_convert_arg_bad): Add flags parm.
* cp-tree.h: Adjust.
* typeck.c (convert_for_assignment): Pass flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147933 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool_neg.cc')
-rw-r--r-- | libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool_neg.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool_neg.cc b/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool_neg.cc index 776179f3efa..6b8d129d2ff 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool_neg.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool_neg.cc @@ -29,4 +29,4 @@ int test01() return i; } -// { dg-error "could not convert" "" { target *-*-* } 27 } +// { dg-error "cannot convert" "" { target *-*-* } 27 } |