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 |
// C++/15119
|
// C++/15119
|
// This ICEd in substitute_placeholder_in_expr because it did not
|
// This ICEd in substitute_placeholder_in_expr because it did not
|
// implement the 4 element trees.
|
// implement the 4 element trees.
|
// Orginal test by:
|
// Orginal test by:
|
// Reduced by:
|
// Reduced by:
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
|
|
template
|
template
|
const T& xmin(const T& a, const T& b);
|
const T& xmin(const T& a, const T& b);
|
|
|
void bar (char *, ...);
|
void bar (char *, ...);
|
|
|
char const* descs[4];
|
char const* descs[4];
|
|
|
int main() {
|
int main() {
|
int t = 1;
|
int t = 1;
|
char buf[100];
|
char buf[100];
|
bar( buf, descs[ xmin(t-1,4) ], 0 );
|
bar( buf, descs[ xmin(t-1,4) ], 0 );
|
return 0;
|
return 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.