forked from OSchip/llvm-project
[Clang] Fix a typo in implicit-int-float-conversion.c
This commit is contained in:
parent
4944bb190f
commit
10092291d7
|
@ -16,7 +16,7 @@ void testAssignment() {
|
|||
float ffff = 222222222222UL; // expected-warning {{changes value from 222222222222 to 222222221312}}
|
||||
|
||||
long l = 222222222222L;
|
||||
#ifdef NONCOST
|
||||
#ifdef NONCONST
|
||||
float fff = l; // expected-warning {{implicit conversion from 'long' to 'float' may lose precision}}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue