aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/addrof1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/addrof1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/addrof1.C30
1 files changed, 0 insertions, 30 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/addrof1.C b/gcc/testsuite/g++.old-deja/g++.other/addrof1.C
deleted file mode 100644
index b4d55f6a21b..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.other/addrof1.C
+++ /dev/null
@@ -1,30 +0,0 @@
-typedef struct st {
- unsigned char a;
- unsigned char b;
- unsigned char c;
- unsigned char d;
-} __attribute__((aligned(4))) st;
-
-void testme(int, int, int);
-
-static inline void
-stupid_func(st s)
-{
- testme(s.a, s.b, s.c);
-}
-
-int main()
-{
- st s;
-
- s.a = s.b = s.c = 216;
- stupid_func(s);
-
- return 0;
-}
-
-void testme(int a, int b, int c)
-{
- if (a != 216 || b != 216 || c != 216)
- abort();
-}