HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Release coccinelle-0.1.8
[bpt/coccinelle.git]
/
tests
/
longconst.res
1
long function1()
2
{
3
long a;
4
int b;
5
a = f(1l, "long");
6
a = f(1u, "unsigned");
7
a = f(65536l, "long");
8
a = f(65536u, "unsigned");
9
a = f(65536, "int");
10
a = f(4294967296, "int");
11
a = f(65535, "int");
12
a = f(4294967295, "int");
13
a = f(0x7fffffff, "int");
14
a = f(0x1fl, "long");
15
a = f(0x1fu, "unsigned");
16
a = f(0x1FL, "long");
17
a = f(0x1FU, "unsigned");
18
return a;
19
}