| 1 |
/* Test TI ABI unsupported constructs */ |
| 2 |
|
| 3 |
/* { dg-do assemble } */ |
| 4 |
/* { dg-options "-O1 -mabi=ti" } */ |
| 5 |
|
| 6 |
|
| 7 |
struct big { |
| 8 |
char c[9]; |
| 9 |
}; |
| 10 |
|
| 11 |
struct big test(void) |
| 12 |
{ /* { dg-error "large return values not supported with '-mabi=ti' option" } */ |
| 13 |
static struct big b; |
| 14 |
return b; |
| 15 |
} |