repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.martin
/
sts_partial.C
blob
00b58e6c2440afa8b70986875c39642839cac0d9
1
// { dg-do run }
2
// ecgs-bugs 1999-02-22 14:26 Stefan Schwarzer
3
// sts@ica1.uni-stuttgart.de
4
// partial ordering problem in egcs <= 1.1.1
5
6
template<class T>
7
int f(T &){ return 1; }
8
9
template<class T>
10
int f( T[] ){ return 0; }
11
12
int main(){
13
int d[] ={2};
14
return f(d);
15
}