testsuite: arm: Use effective-target for pr68620 and pr78041 tests
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr36666.c
blob9eb132cd044e697deb4ae7549edc130906ffb488
1 struct Foo {
2 int *p;
3 struct X {
4 int a,b,c,d,e,*f;
5 } x;
6 } *init, *init2;
8 struct X __attribute__((const)) foo(struct X);
9 struct Foo __attribute__((const)) foo2(struct Foo);
11 void bar1 (void)
13 init->x = foo (init2->x);
15 void bar2 (void)
17 init->x = foo (init->x);
19 void bar3 (void)
21 *init = foo2 (*init2);