ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/pru/mabi-ti-1.c

11 lines
240 B
C

/* Test TI ABI unsupported constructs */
/* { dg-do assemble } */
/* { dg-options "-O1 -mabi=ti" } */
int test(int a, int b, void (*fp)(void))
{ /* { dg-error "function pointers not supported with '-mabi=ti' option" } */
return a+b;
}