aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/nullify_1.f
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/nullify_1.f')
-rw-r--r--gcc/testsuite/gfortran.dg/nullify_1.f11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/nullify_1.f b/gcc/testsuite/gfortran.dg/nullify_1.f
new file mode 100644
index 00000000000..abf68c969ba
--- /dev/null
+++ b/gcc/testsuite/gfortran.dg/nullify_1.f
@@ -0,0 +1,11 @@
+C { dg-do compile }
+C PR 18993
+C we didn't match the end of statement following NULLIFY ()
+C this lead to weird error messages
+ subroutine ordern( )
+ real, pointer :: aux(:,:)
+C Nullify pointers
+ nullify(aux)
+C Set default sizes for order N arrays
+ end subroutine ordern
+