aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/entry_19.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gfortran.dg/entry_19.f90')
-rw-r--r--gcc-4.9/gcc/testsuite/gfortran.dg/entry_19.f909
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gfortran.dg/entry_19.f90 b/gcc-4.9/gcc/testsuite/gfortran.dg/entry_19.f90
new file mode 100644
index 000000000..87b52ad67
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gfortran.dg/entry_19.f90
@@ -0,0 +1,9 @@
+! { dg-do compile }
+! { dg-options "-std=f2008" }
+!
+!
+! Entry is obsolete in Fortran 2008
+!
+subroutine foo()
+entry bar() ! { dg-warning "Fortran 2008 obsolescent feature: ENTRY" }
+end