diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gfortran.dg/lto/pr60635_0.f90')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gfortran.dg/lto/pr60635_0.f90 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gfortran.dg/lto/pr60635_0.f90 b/gcc-4.9/gcc/testsuite/gfortran.dg/lto/pr60635_0.f90 new file mode 100644 index 000000000..e12187985 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gfortran.dg/lto/pr60635_0.f90 @@ -0,0 +1,16 @@ +! { dg-lto-do link } +program test + use iso_fortran_env + + interface + integer(int16) function bigendc16(x) bind(C) + import + integer(int16), intent(in) :: x + end function + end interface + + integer(int16) :: x16 = 12345 + x16 = bigendc16(x16) + print *,x16 +end program + |