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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [crash38.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
/* PR c++/33207  */
2
 
3
/* This would not ICE.  */
4
namespace M { } /* { dg-error "previous declaration" } */
5
struct M; /* { dg-error "redeclared as different kind of symbol" } */
6
M *p; /* { dg-error "does not name a type" } */
7
 
8
/* This would ICE when processing 'p'.  */
9
namespace N { } /* { dg-error "previous declaration" } */
10
struct N; /* { dg-error "redeclared as different kind of symbol" } */
11
struct N* p; /* { dg-error "redeclared as different kind of symbol|invalid type" } */

powered by: WebSVN 2.1.0

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