OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [vararg-1.C] - Blame information for rev 715

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// C++/15119
2
//  This ICEd in substitute_placeholder_in_expr because it did not
3
//  implement the 4 element trees.
4
//  Orginal test by: 
5
//  Reduced by: 
6
/* { dg-do compile } */
7
 
8
template
9
const T& xmin(const T& a, const T& b);
10
 
11
void bar (char *, ...);
12
 
13
char const* descs[4];
14
 
15
int main() {
16
    int t = 1;
17
    char buf[100];
18
    bar( buf, descs[ xmin(t-1,4) ], 0 );
19
    return 0;
20
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.