diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/open_access_1.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/open_access_1.f90 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/open_access_1.f90 b/gcc/testsuite/gfortran.dg/open_access_1.f90 new file mode 100644 index 000000000..95466177f --- /dev/null +++ b/gcc/testsuite/gfortran.dg/open_access_1.f90 @@ -0,0 +1,6 @@ +! { dg-do compile } + + real :: a + a = 6.0 + open (unit = 6, file = 'foo', access = a) ! { dg-error "must be of type CHARACTER" } +end |