URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [hollerith2.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do run }! Program to test Hollerith constant.Program testimplicit noneinteger i,jreal r, x, yparameter (i = 4h1234)parameter (r = 4hdead)parameter (y = 4*r)parameter (j = selected_real_kind (i))x = 4H1234x = sin(r)x = x * rx = x / rx = x + rx = x - rend! { dg-warning "Hollerith constant" "const" { target *-*-* } 7 }! { dg-warning "Conversion" "conversion" { target *-*-* } 7 }! { dg-warning "Hollerith constant" "const" { target *-*-* } 8 }! { dg-warning "Conversion" "conversion" { target *-*-* } 8 }! { dg-warning "Hollerith constant" "const" { target *-*-* } 11 }! { dg-warning "Conversion" "conversion" { target *-*-* } 11 }
