blob: 00b58e6c2440afa8b70986875c39642839cac0d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// { dg-do run }
// ecgs-bugs 1999-02-22 14:26 Stefan Schwarzer
// sts@ica1.uni-stuttgart.de
// partial ordering problem in egcs <= 1.1.1
template<class T>
int f(T &){ return 1; }
template<class T>
int f( T[] ){ return 0; }
int main(){
int d[] ={2};
return f(d);
}
|