Skip to content

Commit a850aa1

Browse files
committed
[embedded] Fix conditionals.swift/stdlib-basic.swift test failures on Linux
1 parent aa9a881 commit a850aa1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/embedded/conditionals.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ public func embedded() { }
77
public func regular() { }
88
#endif
99

10-
// CHECK: define swiftcc void @"$s12conditionals7regularyyF"()
11-
// EMBEDDED: define swiftcc void @"$s12conditionals8embeddedyyF"()
10+
// CHECK: define {{.*}}void @"$s12conditionals7regularyyF"()
11+
// EMBEDDED: define {{.*}}void @"$s12conditionals8embeddedyyF"()

test/embedded/stdlib-basic.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// RUN: %target-swift-frontend -target armv7-apple-none-macho -Xcc -D__MACH__ -emit-ir %s -enable-experimental-feature Embedded | %FileCheck %s
22
// RUN: %target-swift-frontend -target arm64-apple-none-macho -Xcc -D__MACH__ -Xcc -D__arm64__ -Xcc -D__APPLE__ -emit-ir %s -enable-experimental-feature Embedded | %FileCheck %s
33

4+
// REQUIRES: VENDOR=apple
5+
46
public func bool() -> Bool {
57
return true
68
}

0 commit comments

Comments
 (0)