Skip to content

Commit 60252dc

Browse files
committed
Fix the build by ensuring that the test only runs if LLVM can compile ARM.
1 parent 8d1ac7b commit 60252dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/IRGen/integer_literal.sil

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
// RUN: %swift -target armv7-apple-ios10 -module-name integer_literal %s -gnone -emit-ir | %FileCheck %s
2+
3+
// REQUIRES: CODEGENERATOR=ARM
4+
25
// We use a 32-bit target because it makes the literals smaller.
36

47
sil_stage canonical

0 commit comments

Comments
 (0)