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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-fshow-column" }
2
// PR c++/13975
3
 
4
public: // { dg-error "1:expected unqualified-id before 'public'" }
5
 
6
int i;
7
 
8
protected: // { dg-error "1:expected unqualified-id before 'protected'" }
9
 
10
int j;
11
 
12
private: // { dg-error "1:expected unqualified-id before 'private'" }
13
 
14
int k;

powered by: WebSVN 2.1.0

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