Skip to content

Commit 38ef675

Browse files
authored
[test] Add REQUIRES: assert to test using --debug-only (#76443)
The test is using LLVM's `--debug-only=` but it is not marked as `REQUIRES: asserts`, so it will try to run in non-asserts compilers and fail.`
1 parent 16244b3 commit 38ef675

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/SILOptimizer/cold_block_info.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// RUN: %FileCheck %s --input-file=%t/debug.txt \
88
// RUN: --implicit-check-not 'converged after {{[3-9]}} iters'
99

10+
// REQUIRES: asserts
11+
1012
public enum MyError: Error { case err; case number(Int) }
1113

1214
@inline(never)

0 commit comments

Comments
 (0)