Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gfortran.dg
/
conditional_5.f90
blob: 98b479d3e9df6c436fb37a3df7b8affb980572af [
file
] [
log
] [
blame
]
!
{
dg
-
do
compile
}
!
{
dg
-
options
"-std=f2018"
}
program conditional_std
implicit
none
integer
::
i
=
42
i
=
(
i
>
0
?
1
:
-
1
)
!
{
dg
-
error
"Fortran 2023: Conditional expression at"
}
end
program conditional_std