| 1 |
/* PR target/38736 */ |
| 2 |
/* { dg-options "-O2" } */ |
| 3 |
|
| 4 |
struct alignment_test_struct |
| 5 |
{ |
| 6 |
char space[4] __attribute__((__aligned__)); |
| 7 |
}; |
| 8 |
|
| 9 |
extern int aligned_x (void); |
| 10 |
|
| 11 |
int |
| 12 |
aligned_x (void) |
| 13 |
{ |
| 14 |
return __alignof__(struct alignment_test_struct); |
| 15 |
} |