diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/defctor.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/defctor.C | 15 |
1 files changed, 0 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 deleted file mode 100644 index 68cf25c3ab6..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/defctor.C +++ /dev/null @@ -1,15 +0,0 @@ -// Bug: g++ doesn't generate default constructor. - -class A { -public: - int i; -}; - -extern "C" int printf(const char *, ...); - -int main () { - A a; - a.i = 1; - A b (a); - printf("%d\n",b.i); -} |