URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 384 |
// { dg-options "-fabi-version=0" }
|
// { dg-options "-fabi-version=0" }
|
|
|
enum E { e = 3 };
|
enum E { e = 3 };
|
|
|
template struct S {};
|
template struct S {};
|
|
|
template void f (S) {}
|
template void f (S) {}
|
template void f<7>(S);
|
template void f<7>(S);
|
|
|
template void g (S) {}
|
template void g (S) {}
|
template void g<7>(S);
|
template void g<7>(S);
|
|
|
template void h (S) {}
|
template void h (S) {}
|
template void h<7>(S<7 + 1>);
|
template void h<7>(S<7 + 1>);
|
|
|
// { dg-final { scan-assembler _Z1fILi7EEv1SILi4EE } }
|
// { dg-final { scan-assembler _Z1fILi7EEv1SILi4EE } }
|
// { dg-final { scan-assembler _Z1gILi7EEv1SILi3EE } }
|
// { dg-final { scan-assembler _Z1gILi7EEv1SILi3EE } }
|
// { dg-final { scan-assembler _Z1hILi7EEv1SIXplT_Li1EEE } }
|
// { dg-final { scan-assembler _Z1hILi7EEv1SIXplT_Li1EEE } }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.