summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/hollerith3.f90
blob: b283f5f7c0bcd188bad61921c061b3454c96b859 (plain)
1
2
3
4
5
6
7
8
9
       ! { dg-do compile }
       ! { dg-options "-w" }
       ! Program to test invalid Hollerith constant.
       Program test
       implicit none
       integer i
       i = 0H ! { dg-error "at least one character" }
       i = 4_8H1234 ! { dg-error "should be default" }
       end