RISC-V: Add support for riscv-*-*.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / calls-void.c
blobeeed4fdfdc1d125867335d2ba1b99de71c455ed8
1 /* { dg-require-effective-target ptr32plus } */
2 /* { dg-require-effective-target untyped_assembly } */
4 typedef void (*T)(void);
5 f1 ()
7 ((T) 0)();
9 f2 ()
11 ((T) 1000)();
13 f3 ()
15 ((T) 10000000)();
17 f4 (r)
19 ((T) r)();
21 f5 ()
23 int (*r)() = f3;
24 ((T) r)();