PR c/47043
[official-gcc.git] / gcc / testsuite / c-c++-common / cpp / openacc-define-3.c
blobccedcd907828edd388e9cf122608e3f095fd9efb
1 /* { dg-options "-fopenacc" } */
2 /* { dg-do preprocess } */
3 /* { dg-require-effective-target fopenacc } */
5 #ifndef _OPENACC
6 # error _OPENACC not defined
7 #endif
9 #if _OPENACC != 201306
10 # error _OPENACC defined to wrong value
11 #endif