Skip to content

Commit e1ab6da

Browse files
committed
[TypeChecker] NFC: Make test-case for rdar://problem/33688063 more complicated
SE-0213 improved cases like that but we still have problem with operator overloads, so just need to make this a bit more complicated to reproduce again. Resolves: rdar://problem/42304000
1 parent f0cb64d commit e1ab6da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %target-typecheck-verify-swift -solver-expression-time-threshold=1 -swift-version 4
22
// REQUIRES: tools-release,no_asserts
33

4-
let _ = 1 | UInt32(0) << 0 | UInt32(1) << 1 | UInt32(2) << 2
4+
let _ = 1 | UInt32(0) << 0 | UInt32(1) << 1 | UInt32(2) << 2 | UInt32(3) << 3 | UInt32(4) << 4
55
// expected-error@-1 {{reasonable time}}

0 commit comments

Comments
 (0)