mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
18 lines
292 B
Swift
18 lines
292 B
Swift
// RUN: %swift -I %S/.. %s -i | FileCheck %s
|
|
|
|
// CHECK: 123ABC
|
|
|
|
// FIXME: The "import" shouldn't be necessary
|
|
import swift
|
|
|
|
// FIXME: main() should be implicitly defined.
|
|
func main() {
|
|
if (true) {
|
|
print(123)
|
|
printChar(65)
|
|
printChar(66)
|
|
printChar(67)
|
|
printChar(10)
|
|
}
|
|
}
|