URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 301 |
Rev 378 |
Line 6... |
Line 6... |
// { dg-options "-std=c++0x" }
|
// { dg-options "-std=c++0x" }
|
|
|
template struct sa;
|
template struct sa;
|
template <> struct sa {};
|
template <> struct sa {};
|
|
|
struct one {char x[1];};
|
struct one {long x[1];};
|
struct two {char x[2];};
|
struct two {long x[2];};
|
|
|
struct A {};
|
struct A {};
|
|
|
one foo(const A&) {return one();}
|
one foo(const A&) {return one();}
|
two foo(A&&) {return two();}
|
two foo(A&&) {return two();}
|
|
|
int test1(A&& a)
|
int test1(A&& a)
|
{
|
{
|
sa t1;
|
sa t1;
|
return 0;
|
return 0;
|
}
|
}
|
|
|
int main()
|
int main()
|
{
|
{
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.