Files
swift-mirror/test/embedded/avr/testStdlibFunctioning.swift
Max Desiatov 328dd1f753 test/embedded/avr: testStdlibFunctioning.swift is unsupported on Wasm (#83284)
This test should not run as a part of Embedded Swift for Wasm test suite, but somehow it does in this run: https://ci.swift.org/job/oss-swift-pr-test-crosscompile-wasm-ubuntu-20_04/3262/console
2025-07-24 06:28:06 -07:00

15 lines
397 B
Swift

// RUN: %swift-frontend -typecheck %s -target avr-none-none-elf \
// RUN: -wmo -enable-experimental-feature Embedded
// REQUIRES: embedded_stdlib_cross_compiling
// REQUIRES: CODEGENERATOR=AVR
// REQUIRES: swift_feature_Embedded
// UNSUPPORTED: CPU=wasm32
import Swift
#if arch(avr) && os(none) && _runtime(_Native) && _endian(little) && _pointerBitWidth(_16)
let i: Int = 1
#endif
var j = i