Fix compilation failure with C++98 compilers
[official-gcc.git] / gcc / testsuite / gfortran.dg / missing_parens_2.f90
blob117ae4601d1c5dc7d4d62a4a324ff12efb6900e9
1 ! { dg-do run }
2 ! PR34325 Wrong error message for syntax error
3 program aa
4 implicit none
5 real(kind=8)::r1=0
6 character(25) :: a
7 a = 'I am not a )))))'')''.'
8 if ((((((a /= "I am not a )))))')'.")))))) STOP 1
9 if ((((((a /= 'I am not a )))))'')''.')))))) STOP 2
10 a = "I am not a )))))"")""."
11 if ((((((a /= "I am not a )))))"")"".")))))) STOP 3
12 if (((3*r1)**2)>= 0) a = "good"
13 if (a /= "good") STOP 4
14 end