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++.robertl
/
eb98.C
blob
68404fe13fe662f4d1715d13f3355880251f7fc3
1
// { dg-do assemble }
2
// Error: Internal compiler error in egcs 1998/05/28 snapshot.
3
4
5
template<class T, unsigned int Length>
6
inline
7
unsigned int
8
extent(T (&x)[Length])
9
{
10
return Length;
11
}
12
13
extern int b[];
14
15
void f()
16
{
17
extent(b); // { dg-error "" } no matching function
18
}