Fix compilation failure with C++98 compilers
[official-gcc.git] / libgomp / testsuite / libgomp.c-c++-common / target-10.c
blobbc66880b6afc36da460abf36bff5078039121ee7
1 /* { dg-do run } */
3 #pragma omp declare target
4 extern int v;
5 #pragma omp end declare target
7 int v;
9 int
10 main ()
12 #pragma omp target update to(v)
13 return 0;