diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/synth3.C')
-rw-r--r-- | 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 100644 index 000000000..ff304f99e --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.jason/synth3.C @@ -0,0 +1,6 @@ +// { dg-do assemble } +// Testcase for wrongful generation of copy constructor. + +class A { }; +class B: virtual private A { }; +class D: public B { }; // { dg-bogus "" } |