8sa1-gcc/gcc/testsuite/c-c++-common/attr-simd-3.c
Nathan Sidwell e8f47b663f target-supports.exp (check_effective_target_cilkplus): Not nvptx.
* lib/target-supports.exp (check_effective_target_cilkplus): Not nvptx.
	* c-c++-common/attr-simd-3.c: Require cilkplus.
	* gcc.dg/graphite/id-28.c: Likewise.

From-SVN: r231838
2015-12-18 21:14:58 +00:00

6 lines
312 B
C

/* { dg-do compile { target cilkplus } } */
/* { dg-options "-fcilkplus" } */
/* { dg-prune-output "undeclared here \\(not in a function\\)|\[^\n\r\]* was not declared in this scope" } */
void f () __attribute__((__simd__, __vector__)); /* { dg-error "in the same function marked as a Cilk Plus" "PR68158" } */