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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [parse/] [error10.C] - Blame information for rev 779

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

Line No. Rev Author Line
1 301 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.