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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [no-asm-2.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
// { dg-options "-fno-asm" }
3
 
4
// Verify that the keyword asm and the GNU extension typeof are not
5
// recognized as keywords when using -fno-asm.  Having -fno-asm affect
6
// a standard C++ keyword seems strange, but that is existing
7
// behaviour.  If that behaviour changes, this test should change.
8
 
9
int asm;        // { dg-bogus "before .asm." }
10
int typeof;     // { dg-bogus "before .typeof." }

powered by: WebSVN 2.1.0

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