URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// PR c++/22263
|
// PR c++/22263
|
// { dg-do link }
|
// { dg-do link }
|
|
|
template struct S { T foo (); T bar (); };
|
template struct S { T foo (); T bar (); };
|
template T S::foo () { return bar (); }
|
template T S::foo () { return bar (); }
|
template struct S;
|
template struct S;
|
template T S::bar () { return T (); }
|
template T S::bar () { return T (); }
|
|
|
#if !__GXX_WEAK__
|
#if !__GXX_WEAK__
|
template int S::bar ();
|
template int S::bar ();
|
#endif
|
#endif
|
|
|
int main () { return S().foo (); }
|
int main () { return S().foo (); }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.