diff mbox

[committed] Fix C++ altivec test case

Message ID 20110906220850.GA14389@hungry-tiger.westford.ibm.com
State New
Headers show

Commit Message

Michael Meissner Sept. 6, 2011, 10:08 p.m. UTC
I committed the following patch as obvious to make the dg-error test match the
current compiler's error message (the current compiler now lists the type which
broke the regexp).

2011-09-06  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* g++.dg/ext/altivec-17.C: Fix dg-error to match current compiler.
diff mbox

Patch

Index: gcc/testsuite/g++.dg/ext/altivec-17.C
===================================================================
--- gcc/testsuite/g++.dg/ext/altivec-17.C	(revision 178613)
+++ gcc/testsuite/g++.dg/ext/altivec-17.C	(working copy)
@@ -12,5 +12,5 @@  typedef vector__ bool__ int bool_simd_ty
 
 void Foo (bool_simd_type const &a)
 {
-  simd_type const &v = a; // { dg-error "'const simd_type&' from expression of type 'const bool_simd_type'" }
+  simd_type const &v = a; // { dg-error "invalid initialization of reference of type" }
 }