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.C8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.law/ctors13.C b/gcc/testsuite/g++.old-deja/g++.law/ctors13.C
index aef721be7ce..1442b02eb56 100644
--- a/gcc/testsuite/g++.old-deja/g++.law/ctors13.C
+++ b/gcc/testsuite/g++.old-deja/g++.law/ctors13.C
@@ -1,6 +1,6 @@
// Build don't link:
// GROUPS passed constructors
-#include <iostream.h>
+#include <iostream>
class A {
A() {} // private constructor// ERROR - .*
@@ -9,8 +9,10 @@ class A {
int main() {
A* a = new A();// ERROR - .*
if (a) {
- cout << "a != NULL\n";
+ std::cout << "a != NULL\n";
} else {
- cout << "a == NULL\n";
+ std::cout << "a == NULL\n";
}
}
+
+