Files
swift-mirror/test/embedded/fragile-reference.swift
Max Desiatov 7a117df7b2 For now disable previously ARM-specific tests on WASI
The overall change should be only localized to executable tests for now.
2025-07-01 11:43:43 +01:00

24 lines
696 B
Swift

// RUN: %target-swift-frontend -target armv7-apple-none-macho -module-name main -parse-as-library -emit-ir %s -enable-experimental-feature Embedded | %FileCheck %s
// RUN: %target-swift-frontend -target arm64-apple-none-macho -module-name main -parse-as-library -emit-ir %s -enable-experimental-feature Embedded | %FileCheck %s
// UNSUPPORTED: OS=wasi
// REQUIRES: swift_in_compiler
// REQUIRES: CODEGENERATOR=ARM
// REQUIRES: embedded_stdlib_cross_compiling
// REQUIRES: swift_feature_Embedded
@main
public struct Application {
public static func main() {
var x: UInt64 = 0
x <<= 8
}
}
enum MyEnum: UInt8 {
case a = 0
}
// CHECK: define {{.*}}@{{_*}}main{{.*}}(