URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [dfp/] [keywords-reserved.c] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-std=gnu99" } */ /* N1150 3: Decimal floating types. C99 6.4.1(2): Keywords. Decimal float keywords cannot be used in other contexts. */ int _Decimal32 (void) /* { dg-error "error" } */ { return 0; } int foo (int i) { int _Decimal64 = i * 2; /* { dg-error "error" } */ return _Decimal64; /* { dg-error "error" } */ }
Go to most recent revision | Compare with Previous | Blame | View Log