AVR: Assert minimal required bit width of section_common::flags.
[gcc.git] / libgomp / testsuite / libgomp.c / pr104783.c
blob05a93cd6bc166a29fc3c871ed28a8ab42e9a1bce
1 int
2 main (void)
4 unsigned val = 0;
6 #pragma omp target map(tofrom: val)
7 #pragma omp simd
8 for (int i = 0 ; i < 1 ; i++)
10 #pragma omp atomic update
11 val = val + 1;
14 if (val != 1)
15 __builtin_abort ();
17 return 0;