summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr20950.f
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/pr20950.f')
-rw-r--r--gcc/testsuite/gfortran.dg/pr20950.f2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/pr20950.f b/gcc/testsuite/gfortran.dg/pr20950.f
index c132548c829..942696c618f 100644
--- a/gcc/testsuite/gfortran.dg/pr20950.f
+++ b/gcc/testsuite/gfortran.dg/pr20950.f
@@ -1,6 +1,8 @@
! PR libfortran/20950
! Original bug-report by Walt Brainerd, The Fortran Company
! { dg-do run }
+! { dg-options "-std=legacy" }
+!
character*20 c
inquire (33, sequential = c)
if (c .ne. "UNKNOWN") call abort