URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [parse/] [int-as-enum1.C] - Rev 844
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/4207
// Origin: <wanderer@rsu.ru>
// { dg-do compile }
typedef int A; // { dg-error "previous" }
enum ::A {}; // { dg-error "typedef-name|expected unqualified-id" }
Go to most recent revision | Compare with Previous | Blame | View Log