| 1 |
/* { dg-do compile } */ |
| 2 |
|
| 3 |
/* Test attributes in function arguments. */ |
| 4 |
/* Origin: Aldy Hernandez <[email protected]>. */ |
| 5 |
|
| 6 |
#define blah __attribute__((__mode__(QI))) |
| 7 |
|
| 8 |
extern void bar(int *); |
| 9 |
|
| 10 |
void foo (blah int abc) |
| 11 |
{ |
| 12 |
|
| 13 |
int b[sizeof(abc) == 1 ? 1 : -1]; |
| 14 |
bar (b); |
| 15 |
} |