Skip to content

Commit a567d45

Browse files
committed
Require !windows instead of XFAIL'ing ubsan/TestCases/Integer/bit-int.c
The test would unexpectedly pass on Windows when there's 128-bit runtime routines available. See comment on #104494
1 parent c6605a0 commit a567d45

File tree

1 file changed

+1
-3
lines changed
  • compiler-rt/test/ubsan/TestCases/Integer

1 file changed

+1
-3
lines changed

compiler-rt/test/ubsan/TestCases/Integer/bit-int.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
// REQUIRES: x86_64-target-arch
2+
// REQUIRES: !windows
23
// RUN: %clang -Wno-constant-conversion -Wno-array-bounds -Wno-division-by-zero -Wno-shift-negative-value -Wno-shift-count-negative -Wno-int-to-pointer-cast -O0 -fsanitize=array-bounds,float-cast-overflow,implicit-integer-sign-change,implicit-signed-integer-truncation,implicit-unsigned-integer-truncation,integer-divide-by-zero,pointer-overflow,shift-base,shift-exponent,signed-integer-overflow,unsigned-integer-overflow,unsigned-shift-base,vla-bound %s -o %t1 && %run %t1 2>&1 | FileCheck %s
34

4-
// FIXME: make the test pass on windows.
5-
// XFAIL: target={{.*windows-msvc.*}}
6-
75
#include <stdint.h>
86
#include <stdio.h>
97

0 commit comments

Comments
 (0)