diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/nested8.C')
-rwxr-xr-x | gcc/testsuite/g++.old-deja/g++.jason/nested8.C | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/nested8.C b/gcc/testsuite/g++.old-deja/g++.jason/nested8.C new file mode 100755 index 0000000..ff2d659 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.jason/nested8.C @@ -0,0 +1,8 @@ +// Build don't link: + +struct A { }; +struct B: public A { + struct C { +friend struct B; // gets bogus error - base clause w/o members + }; +}; |