mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
12 lines
301 B
Swift
12 lines
301 B
Swift
// RUN: %swift-frontend -emit-ir %s -target avr-none-none-elf \
|
|
// RUN: -wmo -enable-experimental-feature Embedded
|
|
// REQUIRES: embedded_stdlib_cross_compiling
|
|
|
|
import Swift
|
|
|
|
#if arch(avr) && os(none) && _runtime(_Native) && _endian(little) && _pointerBitWidth(_16)
|
|
let i: Int = 1
|
|
#endif
|
|
|
|
var j = i
|