☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
unsigned_38.f90
☽
☼
gcc/testsuite/gfortran.dg/unsigned_38.f90
code
plain
raw
1
! { dg-do compile }
2
! { dg-options "-funsigned -pedantic" }
3
program main
4
unsigned, parameter :: u = 7u
5
print *,mod(-(u+1u),u) ! { dg-error "Negation of unsigned expression" }
6
end program main