URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// Tests partial specialization
|
// Tests partial specialization
|
template struct foo1 {};
|
template struct foo1 {};
|
template struct foo1;
|
template struct foo1;
|
foo1 bar1;
|
foo1 bar1;
|
foo1 baz1; // { dg-error "" } incomplete type
|
foo1 baz1; // { dg-error "" } incomplete type
|
|
|
template struct foo2 {};
|
template struct foo2 {};
|
template struct foo2;
|
template struct foo2;
|
foo2 bar2;
|
foo2 bar2;
|
foo2 baz2; // { dg-error "" } incomplete type
|
foo2 baz2; // { dg-error "" } incomplete type
|
|
|
typedef unsigned int other1_t;
|
typedef unsigned int other1_t;
|
template struct foo3 {};
|
template struct foo3 {};
|
template struct foo3;
|
template struct foo3;
|
foo3 bar3;
|
foo3 bar3;
|
foo3 baz3; // { dg-error "" } incomplete type -
|
foo3 baz3; // { dg-error "" } incomplete type -
|
|
|
typedef int other2_t;
|
typedef int other2_t;
|
template struct foo4 {};
|
template struct foo4 {};
|
template struct foo4;
|
template struct foo4;
|
foo4 bar4;
|
foo4 bar4;
|
foo4 baz4; // { dg-error "" } incomplete type -
|
foo4 baz4; // { dg-error "" } incomplete type -
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.