PR c/29467
[official-gcc.git] / gcc / testsuite / gfortran.dg / enum_1.f90
blob0156cb576f08cbfbeb25c1a1d1a1dd4fd9da3a2a
1 ! { dg-do run }
2 ! Program to test ENUM parsing
4 program main
5 implicit none
6 enum, bind (c)
7 enumerator :: red, black
8 enumerator blue
9 end enum
10 if (red /= 0) call abort
11 end program main