summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.bob/inherit2.C
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-12 10:34:13 -0800
committerYamaArashi <shadow962@live.com>2016-02-12 10:34:13 -0800
commit166e94b61c7150981753e2ad54f1d55149e5f0c7 (patch)
treea78958cacb85309d56ed8924b1a9a5ba7ef2f3a1 /gcc/testsuite/g++.old-deja/g++.bob/inherit2.C
parent7e65adeeca85a232d11aeaa063227dad72f12e2f (diff)
remove g++ test cases
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.bob/inherit2.C')
-rwxr-xr-xgcc/testsuite/g++.old-deja/g++.bob/inherit2.C22
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.bob/inherit2.C b/gcc/testsuite/g++.old-deja/g++.bob/inherit2.C
deleted file mode 100755
index 52d35b0..0000000
--- a/gcc/testsuite/g++.old-deja/g++.bob/inherit2.C
+++ /dev/null
@@ -1,22 +0,0 @@
-// Build don't link:
-class A {
-public:
- void z();
- A(void) {}
-private:
- A(const A &) { abort(); } // ERROR -
- const A& operator =(const A &) { abort(); }
-};
-
-class B : public A {
-public:
- B(void) {}
-};
-
-void f(B b) {
-};
-
-void g() {
- B h;
- f(h); // ERROR -
-}