URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// { dg-do compile }
|
// { dg-do compile }
|
|
|
// Origin: Lynn Akers
|
// Origin: Lynn Akers
|
// Wolfgang Bangerth
|
// Wolfgang Bangerth
|
|
|
// PR c++/10956: Incorrect template substitution for member template
|
// PR c++/10956: Incorrect template substitution for member template
|
// specialization inside template class.
|
// specialization inside template class.
|
|
|
template struct C {
|
template struct C {
|
template void pre_add(T);
|
template void pre_add(T);
|
};
|
};
|
|
|
template<>
|
template<>
|
template
|
template
|
void C<32>::pre_add(T) {
|
void C<32>::pre_add(T) {
|
T pre;
|
T pre;
|
}
|
}
|
|
|
int main() {
|
int main() {
|
C<32>().pre_add(1);
|
C<32>().pre_add(1);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.