aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/defctor.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/defctor.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/defctor.C16
1 files changed, 1 insertions, 15 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/defctor.C b/gcc/testsuite/g++.old-deja/g++.jason/defctor.C
index 252d43ef6ad..765014bc66d 100644
--- a/gcc/testsuite/g++.old-deja/g++.jason/defctor.C
+++ b/gcc/testsuite/g++.old-deja/g++.jason/defctor.C
@@ -1,15 +1 @@
-// Bug: g++ doesn't generate default constructor.
-
-class A {
-public:
- int i;
-};
-
-extern "C" int printf(const char *, ...);
-
-main () {
- A a;
- a.i = 1;
- A b (a);
- printf("%d\n",b.i);
-}
+int main () {