aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/ctors13.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.law/ctors13.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.law/ctors13.C16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.law/ctors13.C b/gcc/testsuite/g++.old-deja/g++.law/ctors13.C
deleted file mode 100644
index aef721be7ce..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.law/ctors13.C
+++ /dev/null
@@ -1,16 +0,0 @@
-// Build don't link:
-// GROUPS passed constructors
-#include <iostream.h>
-
-class A {
- A() {} // private constructor// ERROR - .*
-};
-
-int main() {
- A* a = new A();// ERROR - .*
- if (a) {
- cout << "a != NULL\n";
- } else {
- cout << "a == NULL\n";
- }
-}