Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / other / vararg-1.C
blobf25606e932b35fa36687e3eefa66b1e3e6da3f8f
1 // C++/15119
2 //  This ICEd in substitute_placeholder_in_expr because it did not
3 //  implement the 4 element trees.
4 //  Orginal test by: <wanderer@rsu.ru>
5 //  Reduced by: <bangerth@dealii.org>
6 /* { dg-do compile } */
8 template<typename T> 
9 const T& xmin(const T& a, const T& b); 
11 void bar (char *, ...); 
13 char const* descs[4]; 
15 int main() {    
16     int t = 1; 
17     char buf[100]; 
18     bar( buf, descs[ xmin(t-1,4) ], 0 );  
19     return 0; 
20