aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/warn3.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/warn3.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/warn3.C54
1 files changed, 0 insertions, 54 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/warn3.C b/gcc/testsuite/g++.old-deja/g++.other/warn3.C
deleted file mode 100644
index 4827c5645f2..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.other/warn3.C
+++ /dev/null
@@ -1,54 +0,0 @@
-// Build don't link:
-
-class A {
-};
-
-
-class B {
-public:
- void f();
-
-private:
- B ();
- B (const B&);
-}; // WARNING - only private constructors
-
-
-class C {
-public:
- void f();
-
-private:
- ~C ();
-}; // WARNING - only private destructors
-
-
-class D {
-private:
- void f();
-}; // WARNING - all member functions are private
-
-
-template <class T>
-class X {
-private:
- ~X ();
-}; // WARNING - only private destructors
-
-template class X<int>;
-template class X<double>;
-
-
-template <class T>
-class Y {
-private:
- Y ();
- Y (const Y&);
-}; // WARNING - only private constructors
-
-
-template <class T>
-class Z {
-private:
- void f();
-}; // WARNING - all member functions are private