Files
swift-mirror/validation-test/compiler_scale/explicit_requirements_perf.swift
Slava Pestov 3beb3529b4 Move test/Generics/explicit_requirements_perf.swift to validation-test/compiler_scale
All other scale-tests are in validation-test, so move this one there
too to speed up non-validation test runs.

Also this fixes the failure on Windows, where we don't run validation
tests yet.
2021-05-10 14:08:16 -04:00

10 lines
200 B
Swift

// RUN: %scale-test --begin 1 --end 20 --step 1 --select NumRedundantRequirementSteps --polynomial-threshold 2 %s
protocol P {}
func f<T>(_: T) where
%for i in range(0, N):
T : P,
%end
T : P {}