aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/const.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/const.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/const.C16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/const.C b/gcc/testsuite/g++.old-deja/g++.jason/const.C
deleted file mode 100644
index 2faf8e5811e..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.jason/const.C
+++ /dev/null
@@ -1,16 +0,0 @@
-// Bug: a ends up in the text segment, so trying to initialize it causes
-// a seg fault.
-
-struct A {
- int i;
- A(): i(0) {}
- A(int j): i(j) {}
-};
-
-const A a;
-const A b(1);
-
-int main ()
-{
- return 0;
-}