| 1 |
/* Test TI ABI unsupported constructs */ |
| 2 |
|
| 3 |
/* { dg-do assemble } */ |
| 4 |
/* { dg-options "-O1 -mabi=ti" } */ |
| 5 |
|
| 6 |
|
| 7 |
int test(int a, int b, void (*fp)(void)) |
| 8 |
{ /* { dg-error "function pointers not supported with '-mabi=ti' option" } */ |
| 9 |
return a+b; |
| 10 |
} |