mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +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
206 B
Plaintext
11 lines
206 B
Plaintext
// RUN: %scale-test --sum-multi --begin 5 --end 16 --step 5 --select NumDeclsValidated %s
|
|
// REQUIRES: asserts
|
|
|
|
indirect enum Enum${N} {
|
|
case OK
|
|
|
|
% if int(N) > 1:
|
|
case next(Enum${int(N)-1})
|
|
% end
|
|
}
|