Skip to content

Commit 610887c

Browse files
committed
Re-enable some tests that were disabled a long time ago
1 parent 6f720c4 commit 610887c

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

test/Constraints/issue-52724.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// RUN: %target-swift-frontend -typecheck -verify %s
2-
3-
// REQUIRES: rdar65007946
1+
// RUN: %target-swift-frontend -typecheck -verify -disable-constraint-solver-performance-hacks %s
42

53
// https://github.com/apple/swift/issues/52724
64

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %target-typecheck-verify-swift -warn-long-expression-type-checking=1 -warn-long-function-bodies=1
2-
// REQUIRES: rdar44305428
1+
// RUN: %target-typecheck-verify-swift -warn-long-expression-type-checking=1 -disable-constraint-solver-performance-hacks -warn-long-function-bodies=1 -solver-expression-time-threshold=60
2+
// FIXME: -solver-expression-time-threshold=60 should not be needed
33
@_silgen_name("generic_foo")
44
func foo<T>(_ x: T) -> T
55

@@ -8,6 +8,6 @@ func foo(_ x: Int) -> Int
88

99
func test(m: Double) -> Int {
1010
// expected-warning@-1 {{global function 'test(m:)' took}}
11-
return Int(foo(Float(m) / 20) * 20 - 2) + 10
11+
return ~(~(~(~(~(~(~(~(~(~(~(~(0))))))))))))
1212
// expected-warning@-1 {{expression took}}
1313
}

test/Interpreter/objc_protocols.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: rdar107343134
21
// RUN: %target-run-simple-swift
32
// REQUIRES: executable_test
43
// REQUIRES: objc_interop

0 commit comments

Comments
 (0)