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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/3478
2
// { dg-options "-fshow-column" }
3
 
4
template  struct A
5
{
6
    enum E {};
7
};
8
 
9
template  void foo()
10
{
11
  enum          A::E e1;
12
  typename      A::E    e2;
13
  enum          A::E    e3;
14
  enum typename A::E    e4;
15
}
16
 
17
// Here, columns nums are not very accurate either. Still acceptable though
18
// { dg-error "30:invalid type in declaration before ';' token" "" { target *-*-* } 14 }
19
// { dg-error "30:two or more data types in declaration of 'e4'" "" { target *-*-* } 14 }

powered by: WebSVN 2.1.0

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