aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/anon.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/anon.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/anon.C18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/anon.C b/gcc/testsuite/g++.old-deja/g++.jason/anon.C
deleted file mode 100644
index 63d17a8cb2d..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.jason/anon.C
+++ /dev/null
@@ -1,18 +0,0 @@
-// Bug: g++ has trouble copying anonymous structs.
-
-typedef struct { int i; } foo;
-struct A : public foo {
- struct { int i; } x;
-};
-
-int main ()
-{
- A a;
- a.i = 5;
- a.x.i = 42;
- A b (a);
- a = b;
- if (a.i != 5 || a.x.i != 42)
- return 1;
- return 0;
-}