diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/other')
-rw-r--r-- | gcc/testsuite/g++.dg/other/error23.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/other/error32.C | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/other/error23.C b/gcc/testsuite/g++.dg/other/error23.C index 0ff1915cf2c..959fe4075e6 100644 --- a/gcc/testsuite/g++.dg/other/error23.C +++ b/gcc/testsuite/g++.dg/other/error23.C @@ -2,4 +2,4 @@ // { dg-do compile } int v __attribute ((vector_size (8))); -bool b = !(v - v); // { dg-error "could not convert .\\(__vector.2. int\\)\\{0, 0\\}. to .bool.|in argument to unary" } +bool b = !(v - v); // { dg-error "could not convert .\\(__vector.2. int\\)\\{0, 0\\}. from .__vector.2. int. to .bool.|in argument to unary" } diff --git a/gcc/testsuite/g++.dg/other/error32.C b/gcc/testsuite/g++.dg/other/error32.C index 35c64c4eab9..56d3b7aec8b 100644 --- a/gcc/testsuite/g++.dg/other/error32.C +++ b/gcc/testsuite/g++.dg/other/error32.C @@ -3,6 +3,6 @@ void foo() { - if (throw 0) // { dg-error "could not convert .\\<throw-expression\\>. to .bool." } + if (throw 0) // { dg-error "could not convert .\\<throw-expression\\>. from .void. to .bool." } ; } |