]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/gcc.c-torture/compile/pr51694.c
GCC port for eBPF
[gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr51694.c
1 /* { dg-require-effective-target untyped_assembly } */
2 /* { dg-require-effective-target indirect_calls } */
3
4 void
5 foo (x, fn)
6 void (*fn) ();
7 {
8 int a = baz ((void *) 0, x);
9 (*fn) (x, 0);
10 }
11
12 void
13 bar (void)
14 {
15 void *x = 0;
16 foo (x);
17 }
This page took 0.035777 seconds and 5 git commands to generate.