diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/parse/friend9.C')
-rw-r--r-- | gcc/testsuite/g++.dg/parse/friend9.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/parse/friend9.C b/gcc/testsuite/g++.dg/parse/friend9.C new file mode 100644 index 0000000000..dd6729f17a --- /dev/null +++ b/gcc/testsuite/g++.dg/parse/friend9.C @@ -0,0 +1,6 @@ +// PR c++/19200 + +struct S { + struct T{}; + friend void S(T); +}; |