vector26.C: Restrict scan-assembler test to ! c++98.

gcc/testsuite/
	* g++.dg/ext/vector26.C: Restrict scan-assembler test to ! c++98.

From-SVN: r207384
This commit is contained in:
Richard Sandiford 2014-02-01 10:33:36 +00:00 committed by Richard Sandiford
parent 4244ec23df
commit cf0ac75684
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-02-01 Richard Sandiford <rdsandiford@googlemail.com>
* g++.dg/ext/vector26.C: Restrict scan-assembler test to ! c++98.
2014-02-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51219

View File

@ -5,4 +5,4 @@
typedef enum { e } T __attribute__((vector_size(8)));
static void foo(T t) {}
void bar (T t) {} // { dg-error "no linkage" "" { target c++98 } }
// { dg-final { scan-assembler-not "globl\[ \t]*_Z3bar" } }
// { dg-final { scan-assembler-not "globl\[ \t]*_Z3bar" { target { ! c++98 } } } }