URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// { dg-do run }
|
// { dg-do run }
|
// Testcase for not trying a candidate that would generate an ill-formed
|
// Testcase for not trying a candidate that would generate an ill-formed
|
// instantiation.
|
// instantiation.
|
|
|
template struct A {
|
template struct A {
|
int ar[N];
|
int ar[N];
|
};
|
};
|
|
|
template struct B {
|
template struct B {
|
B () { };
|
B () { };
|
B (const A &) { };
|
B (const A &) { };
|
B (const A &, int);
|
B (const A &, int);
|
};
|
};
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
A<1> a;
|
A<1> a;
|
B<1> b1;
|
B<1> b1;
|
B<1> b2 (a);
|
B<1> b2 (a);
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.