Fix altivec-17.C to match current compiler error message
From-SVN: r178614
This commit is contained in:
parent
cd5a118264
commit
a30d652725
@ -1,3 +1,7 @@
|
|||||||
|
2011-09-06 Michael Meissner <meissner@linux.vnet.ibm.com>
|
||||||
|
|
||||||
|
* g++.dg/ext/altivec-17.C: Fix dg-error to match current compiler.
|
||||||
|
|
||||||
2011-09-06 Eric Botcazou <ebotcazou@adacore.com>
|
2011-09-06 Eric Botcazou <ebotcazou@adacore.com>
|
||||||
|
|
||||||
* gcc.c-torture/compile/20110906-1.c: New test.
|
* gcc.c-torture/compile/20110906-1.c: New test.
|
||||||
|
@ -12,5 +12,5 @@ typedef vector__ bool__ int bool_simd_type;
|
|||||||
|
|
||||||
void Foo (bool_simd_type const &a)
|
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" }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user