mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Delete test/embedded/wasm/wasilibc_functions.swift
This commit is contained in:
@@ -1,21 +0,0 @@
|
|||||||
// RUN: %target-run-simple-swift(-enable-experimental-feature Embedded -parse-as-library -wmo) | %FileCheck %s
|
|
||||||
|
|
||||||
// https://github.com/swiftlang/swift/issues/85272
|
|
||||||
// UNSUPPORTED: *
|
|
||||||
|
|
||||||
// REQUIRES: executable_test
|
|
||||||
// REQUIRES: OS=wasip1
|
|
||||||
// REQUIRES: swift_feature_Embedded
|
|
||||||
|
|
||||||
import WASILibc
|
|
||||||
@main struct Main {
|
|
||||||
static func main() {
|
|
||||||
puts("Hello")
|
|
||||||
// CHECK: Hello
|
|
||||||
let div_result = div(5,2)
|
|
||||||
print(div_result.quot)
|
|
||||||
// CHECK: 2
|
|
||||||
print(div_result.rem)
|
|
||||||
// CHECK: 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user