Skip to content

Commit 98ac5ec

Browse files
AaronBallmanchencha3
authored andcommitted
Removing accidental code from 527a624
1 parent 35d6851 commit 98ac5ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/C/C11/n1365.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void func(void) {
2323
// CHECK-NEXT: FloatingLiteral
2424

2525
// Ensure that a cast removes the extra precision.
26-
_Static_assert((float)(123.0F * 2.0F) == 246.0F, "");
26+
_Static_assert(123.0F * 2.0F == 246.0F, "");
2727
// CHECK: StaticAssertDecl
2828
// CHECK-NEXT: ImplicitCastExpr {{.*}} '_Bool' <IntegralToBoolean>
2929
// CHECK-NEXT: BinaryOperator {{.*}} 'int' '=='

0 commit comments

Comments
 (0)