[Clang] Fix a typo in implicit-int-float-conversion.c

This commit is contained in:
Yuanfang Chen 2020-09-22 16:51:23 -07:00 committed by GitHub
parent 4944bb190f
commit 10092291d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}