aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash10.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.brendan/crash10.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.brendan/crash10.C28
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/crash10.C b/gcc/testsuite/g++.old-deja/g++.brendan/crash10.C
deleted file mode 100644
index 6680718bad6..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.brendan/crash10.C
+++ /dev/null
@@ -1,28 +0,0 @@
-// Build don't link:
-// GROUPS passed old-abort
-class word
-{
- unsigned char b1, b2;
-public:
- word (unsigned int i = 0) { b1 = i & 0xff; b2 = (i & 0xff00) >> 8; }
- operator unsigned int () { return (b2 << 8) + b1; }
-};
-
-class just_another
-{
- int foo;
- char bar[23];
-};
-
-int mumble(word w)
-{
- just_another *jap;
- unsigned bar;
-
- bar = w;
-
- jap = new just_another [w];
-
- return 0;
-}
-