URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// PR c++/14337
|
// PR c++/14337
|
|
|
template struct Constraint;
|
template struct Constraint;
|
template <> struct Constraint { typedef int Result; };
|
template <> struct Constraint { typedef int Result; };
|
|
|
template
|
template
|
struct IsInt { static const bool value = false; };
|
struct IsInt { static const bool value = false; };
|
|
|
template <>
|
template <>
|
struct IsInt { static const bool value = true; };
|
struct IsInt { static const bool value = true; };
|
|
|
template
|
template
|
typename Constraint::value>::Result foo(T);
|
typename Constraint::value>::Result foo(T);
|
|
|
template
|
template
|
typename Constraint::value>::Result foo(T);
|
typename Constraint::value>::Result foo(T);
|
|
|
template
|
template
|
void bar() {
|
void bar() {
|
foo(1);
|
foo(1);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.