aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g77.dg/ffixed-form-2.f
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g77.dg/ffixed-form-2.f')
-rw-r--r--gcc/testsuite/g77.dg/ffixed-form-2.f12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/g77.dg/ffixed-form-2.f b/gcc/testsuite/g77.dg/ffixed-form-2.f
new file mode 100644
index 00000000000..5f6980ca0ac
--- /dev/null
+++ b/gcc/testsuite/g77.dg/ffixed-form-2.f
@@ -0,0 +1,12 @@
+! PR fortran/10843
+! Origin: Brad Davis <bdavis9659@comcast.net>
+!
+! { dg-do compile }
+! { dg-options "-ffixed-form" }
+ GO TO 3
+ GOTO 3
+ 3 CONTINUE
+ GOTO = 55
+ GO TO = 55
+ END
+