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++.old-deja/] [g++.pt/] [redecl1.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
 
3
template 
4
struct S1; // { dg-message "previous declaration" }
5
 
6
template 
7
struct S1 {}; // { dg-error "redeclared" } used 1 template parameter
8
 
9
template  // { dg-message "original definition" }
10
struct S2;
11
 
12
template 
13
struct S2; // { dg-error "redefinition of default" }
14
 
15
template  // { dg-error "template parameter" }
16
struct S3;
17
 
18
template 
19
struct S3; // { dg-error "redeclared here" }
20
 
21
template