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
gcc/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
sizeof1.C
1
// { dg-do assemble }
2
// { dg-options "-pedantic-errors" }
3
// GROUPS passed sizeof
4
// ARM $5.3.2
5
6
void f() { }
7
8
int
9
main()
10
{
11
// sizeof may not be applied to a function
12
int i = sizeof( f);// { dg-error "" } .*
13
14
return 0;
15
}