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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [partial2.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
// Tests partial specialization
3
template struct foo1 {};
4
template struct foo1;
5
foo1 bar1;
6
foo1 baz1; // { dg-error "" } incomplete type
7
 
8
template struct foo2 {};
9
template struct foo2;
10
foo2 bar2;
11
foo2 baz2; // { dg-error "" } incomplete type
12
 
13
typedef unsigned int other1_t;
14
template struct foo3 {};
15
template struct foo3;
16
foo3 bar3;
17
foo3 baz3; // { dg-error "" } incomplete type -
18
 
19
typedef int other2_t;
20
template struct foo4 {};
21
template struct foo4;
22
foo4 bar4;
23
foo4 baz4; // { dg-error "" } incomplete type -

powered by: WebSVN 2.1.0

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