Sign in
gnu
/
gcc
/
251a817e23053b543f04f101c675f5513bbb1865
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash28.C
blob: ab46d8f59146f6763624d43cf174d40f536bb250 [
file
] [
log
] [
blame
]
// Build don't link:
// Special g++ Options:
template
<
class
ARRY
>
inline
unsigned
int
asize
(
ARRY
&
a
)
{
return
sizeof
(
a
)
/
sizeof
(
a
[
0
]);
}
void
f
(
unsigned
int
n
)
{
int
x
[
n
];
asize
(
x
);
// ERROR - no matching function
};