diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/print_parentheses_1.f')
-rw-r--r-- | gcc/testsuite/gfortran.dg/print_parentheses_1.f | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/print_parentheses_1.f b/gcc/testsuite/gfortran.dg/print_parentheses_1.f new file mode 100644 index 000000000..d64448323 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/print_parentheses_1.f @@ -0,0 +1,7 @@ +! { dg-do compile } +! { dg-options "-std=legacy" } +! + program main + character*80 line + print (line,'(A)'), 'hello' ! { dg-error "Syntax error" } + end |