blob: cef23e2eb5b8bdc6ff185d14ed07320a165b8cb8 [file] [log] [blame]
// RUN: %scale-test -O --begin 5 --end 21 --step 5 --select StoredPropertiesRequest %s
// REQUIRES: asserts
//
// Single file with many stored properties.
//
// Check that SIL passes don't exhibit cubic behavior by repeatedly
// asking for all the stored properties (if the StoredPropertiesRequest
// stat scales quadratically, then the behavior is cubic).
public class LazyProperties {
%for i in range(N):
public lazy var prop${i}: String = { return "${i}" }()
%end
}