Skip to content

Commit 8e8d0c1

Browse files
authored
Fix integer suffix in truncxfhf2_test (#121388)
Fixes error introduced by #120372.
1 parent 40e734e commit 8e8d0c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler-rt/test/builtins/Unit/truncxfhf2_test.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ int main() {
4848

4949
// Positive infinity
5050
if (test_truncxfhf2(UINT16_C(0x7fff), UINT64_C(0x8000000000000000),
51-
UINT16_C(0x7c00U)))
51+
UINT16_C(0x7c00)))
5252
return 1;
5353

5454
// Negative infinity
5555
if (test_truncxfhf2(UINT16_C(0xffff), UINT64_C(0x8000000000000000),
56-
UINT16_C(0xfc00U)))
56+
UINT16_C(0xfc00)))
5757
return 1;
5858

5959
// NaN
6060
if (test_truncxfhf2(UINT16_C(0x7fff), UINT64_C(0xc000000000000000),
61-
UINT16_C(0x7e00U)))
61+
UINT16_C(0x7e00)))
6262
return 1;
6363

6464
return 0;

0 commit comments

Comments
 (0)