summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/d_lines_3.f
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/d_lines_3.f')
-rw-r--r--gcc/testsuite/gfortran.dg/d_lines_3.f10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/d_lines_3.f b/gcc/testsuite/gfortran.dg/d_lines_3.f
new file mode 100644
index 000000000..53b75addc
--- /dev/null
+++ b/gcc/testsuite/gfortran.dg/d_lines_3.f
@@ -0,0 +1,10 @@
+C { dg-do compile }
+C { dg-options "-fd-lines-as-code" }
+C Verifies that column numbers are dealt with correctly when handling D lines.
+C234567890
+d i = 0 ! this may not move to the left
+d 1 + 1 ! this should be a continuation line
+ goto 2345
+d23450continue ! statement labels are correctly identified
+ end
+