2 ! PR33253 namelist: reading back a string, also fixed writing with delimiters.
3 ! Test case modified from that of the PR by
4 ! Jerry DeLisle <jvdelisle@gcc.gnu.org>
11 open(10, status
="scratch", delim
="quote")
16 read (10,foo
) ! This gave a runtime error before the patch.
17 if (a
.ne
.'a"a') STOP 1
20 open(10, status
="scratch", delim
="apostrophe")
26 if (a
.ne
."a'a") STOP 2
29 open(10, status
="scratch", delim
="none")
34 if (b
.ne
. "&FOO") STOP 3
36 if (b
.ne
. " A=a'a") STOP 4
38 if (b
.ne
. " /") STOP 5