Files
swift-mirror/test/IRGen/Inputs/at-main-struct-simple.swift
Nate Chandler 28cc144284 [IRGen] Add main() to __swift5_entry.
To enable lookup of the entry point, emit a pointer to that entry point
into a new section; on MachO, the __swift5_entry section of the __TEXT
segment.

rdar://problem/66402358
2020-08-03 15:40:16 -07:00

7 lines
75 B
Swift

@main
struct Entry {
static func main() {
print("howdy mundo")
}
}