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
2008-08-09 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
conv4.C
1
// { dg-do compile }
2
3
// This file should compile cleanly by default and not warn on the conversions.
4
int func1(int i)
5
{
6
return i;
7
}
8
9
int main()
10
{
11
float f;
12
long l;
13
unsigned long ul;
14
15
f = 1.5f;
16
17
l = f;
18
ul = -1;
19
func1(f);
20
21
return 0;
22
}