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 compile }
|
// { dg-do compile }
|
// Origin: Wolfgang Bangerth
|
// Origin: Wolfgang Bangerth
|
|
|
// PR c++/2863
|
// PR c++/2863
|
// Default function argument and template specialization.
|
// Default function argument and template specialization.
|
|
|
struct X {
|
struct X {
|
template void f(int=0);
|
template void f(int=0);
|
};
|
};
|
|
|
template <> void X::f<1> () {} // { dg-error "(not match|declaration)" }
|
template <> void X::f<1> () {} // { dg-error "(not match|declaration)" }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.