diff options
Diffstat (limited to 'gcc/testsuite/gfortran.fortran-torture/compile/name_clash.f90')
-rw-r--r-- | gcc/testsuite/gfortran.fortran-torture/compile/name_clash.f90 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.fortran-torture/compile/name_clash.f90 b/gcc/testsuite/gfortran.fortran-torture/compile/name_clash.f90 new file mode 100644 index 000000000..7b8c0c7d1 --- /dev/null +++ b/gcc/testsuite/gfortran.fortran-torture/compile/name_clash.f90 @@ -0,0 +1,9 @@ +! This is the testcase from PR13249. +! the two different entities named AN_EXAMPLE shouldn't conflict + MODULE MOD + INTEGER FOO + END + PROGRAM MAIN + USE MOD + COMMON /FOO/ BAR + END |