URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 338 |
// { dg-do compile }
|
// { dg-do compile }
|
// { dg-options "-fno-asm" }
|
// { dg-options "-fno-asm" }
|
|
|
// Verify that the keyword asm and the GNU extension typeof are not
|
// Verify that the keyword asm and the GNU extension typeof are not
|
// recognized as keywords when using -fno-asm. Having -fno-asm affect
|
// recognized as keywords when using -fno-asm. Having -fno-asm affect
|
// a standard C++ keyword seems strange, but that is existing
|
// a standard C++ keyword seems strange, but that is existing
|
// behaviour. If that behaviour changes, this test should change.
|
// behaviour. If that behaviour changes, this test should change.
|
|
|
int asm; // { dg-bogus "before .asm." }
|
int asm; // { dg-bogus "before .asm." }
|
int typeof; // { dg-bogus "before .typeof." }
|
int typeof; // { dg-bogus "before .typeof." }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.