This revision was automatically updated to reflect the committed changes.
Closed by commit rL339593: [Sema] fix -Wfloat-conversion test case. (authored
by nickdesaulniers, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D50647
Files:
cfe/trunk/test/Sema/conversion.c
Index: cfe/trunk/test/Sema/conversion.c
===================================================================
--- cfe/trunk/test/Sema/conversion.c
+++ cfe/trunk/test/Sema/conversion.c
@@ -359,7 +359,7 @@
void test_7676608(void) {
float q = 0.7f;
char c = 5;
- f7676608(c *= q);
+ f7676608(c *= q); // expected-warning {{conversion}}
}
// <rdar://problem/7904686>
Index: cfe/trunk/test/Sema/conversion.c
===================================================================
--- cfe/trunk/test/Sema/conversion.c
+++ cfe/trunk/test/Sema/conversion.c
@@ -359,7 +359,7 @@
void test_7676608(void) {
float q = 0.7f;
char c = 5;
- f7676608(c *= q);
+ f7676608(c *= q); // expected-warning {{conversion}}
}
// <rdar://problem/7904686>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits