Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gfortran.dg / gomp / appendix-a / a.17.1.f90
blob8fd600176caccda570051d4975f5bc80921b6ff4
1 ! { dg-do compile }
2 SUBROUTINE A17_1_WRONG()
3 INTEGER:: I
4 REAL:: R
5 EQUIVALENCE(I,R)
6 !$OMP PARALLEL
7 !$OMP ATOMIC
8 I=I+1
9 !$OMP ATOMIC
10 R = R + 1.0
11 ! incorrect because I and R reference the same location
12 ! but have different types
13 !$OMP END PARALLEL
14 END SUBROUTINE A17_1_WRONG