URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.dg/] [other/] [vararg-1.C] - Rev 301
Go to most recent revision | Compare with Previous | Blame | View Log
// C++/15119
// This ICEd in substitute_placeholder_in_expr because it did not
// implement the 4 element trees.
// Orginal test by: <wanderer@rsu.ru>
// Reduced by: <bangerth@dealii.org>
/* { dg-do compile } */
template<typename T>
const T& xmin(const T& a, const T& b);
void bar (char *, ...);
char const* descs[4];
int main() {
int t = 1;
char buf[100];
bar( buf, descs[ xmin(t-1,4) ], 0 );
return 0;
}
Go to most recent revision | Compare with Previous | Blame | View Log