Skip to content

Commit 51db51e

Browse files
Add reduced test case for rdar://problem/54926602.
1 parent 99c6521 commit 51db51e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// FIXME: We shouldn't be consuming a lot of memory here but we do.
2+
// RUN: %scale-test --begin 1 --end 4 --step 1 --select NumLeafScopes %s --expected-exit-code 1 --invert-result
3+
// REQUIRES: OS=macosx
4+
// REQUIRES: asserts
5+
6+
class God {
7+
public func isEqual(_ other: God) -> Bool {
8+
return (
9+
(self.form == other.form)
10+
%for i in range(1, N):
11+
&& (self.form == other.form)
12+
%end
13+
)
14+
}
15+
}

0 commit comments

Comments
 (0)