OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [c99-align-1.c] - Rev 689

Compare with Previous | Blame | View Log

/* Test _Alignof and _Alignas not in C99.  */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
 
int a = _Alignof (int); /* { dg-error "ISO C99 does not support '_Alignof'" } */
_Alignas (int) int b; /* { dg-error "ISO C99 does not support '_Alignas'" } */
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.