diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/synth3.C')
-rwxr-xr-x | gcc/testsuite/g++.old-deja/g++.jason/synth3.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/synth3.C b/gcc/testsuite/g++.old-deja/g++.jason/synth3.C new file mode 100755 index 0000000..26af8ae --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.jason/synth3.C @@ -0,0 +1,6 @@ +// Testcase for wrongful generation of copy constructor. +// Build don't link: + +class A { }; +class B: virtual private A { }; +class D: public B { }; // gets bogus error |