2 ! { dg-options "-Wall -pedantic" }
3 ! Before a bogus warning was printed
8 character(len=70) :: str
9 write(str,'(a)') 'Print rather a lot of ampersands &&&&&
12 if (len(trim(str)) /= 44 &
13 .or. str /= 'Print rather a lot of ampersands &&&&&&&&&&&') &