mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
It's likely that these were listed as "REQUIRES: OS=macosx" to not redundantly run them for iOS et al, but they don't take that long and so it's more useful for Linux devs to be able to run them locally if need be. Or to catch something that really is different on non-macOS.
11 lines
227 B
Plaintext
11 lines
227 B
Plaintext
// RUN: %scale-test --sum-multi --begin 5 --end 16 --step 5 --select NumFunctionsTypechecked %s
|
|
// REQUIRES: asserts
|
|
|
|
struct Struct${N} {
|
|
% if int(N) > 1:
|
|
var Field : Struct${int(N)-1}?
|
|
% else:
|
|
var Field : Int?
|
|
% end
|
|
}
|