OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Formatting fixes.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash28.C
1
// { dg-do assemble }
2
// { dg-options "" }
3
4
template <class ARRY>
5
inline unsigned int asize(ARRY &a)
6
{
7
return sizeof(a) / sizeof(a[0]);
8
}
9
10
void f(unsigned int n) {
11
int x[n];
12
13
asize(x); // { dg-error "" } no matching function
14
}