URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [c90-align-1.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test _Alignof and _Alignas not in C90. */ /* { dg-do compile } */ /* { dg-options "-std=iso9899:1990 -pedantic-errors" } */ int a = _Alignof (int); /* { dg-error "ISO C90 does not support '_Alignof'" } */ _Alignas (int) int b; /* { dg-error "ISO C90 does not support '_Alignas'" } */
Go to most recent revision | Compare with Previous | Blame | View Log