diff options
author | YamaArashi <shadow962@live.com> | 2016-02-12 10:34:13 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-02-12 10:34:13 -0800 |
commit | 166e94b61c7150981753e2ad54f1d55149e5f0c7 (patch) | |
tree | a78958cacb85309d56ed8924b1a9a5ba7ef2f3a1 /gcc/testsuite/g++.old-deja/g++.bob/inherit2.C | |
parent | 7e65adeeca85a232d11aeaa063227dad72f12e2f (diff) |
remove g++ test cases
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.bob/inherit2.C')
-rwxr-xr-x | gcc/testsuite/g++.old-deja/g++.bob/inherit2.C | 22 |
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 - -} |