PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr70330.f90
blob29f5f7b6a041c6553c532ea3daec7e1dee4dcb0c
1 ! { dg-do compile }
2 ! { dg-additional-options "-Wall -Wextra -Wno-unused-dummy-argument" }
3 ! PR fortran/70330 - this used to cause an ICE.
4 ! Test case by Vladimir Fuka
5 function f(o) ! { dg-warning "Return value of function" }
6 optional o
7 end function f