mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Sema: Change -solver-memory-threshold into a frontend flag for consistency with the others
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// RUN: %target-typecheck-verify-swift -solver-memory-threshold 32000
|
||||
// RUN: %target-typecheck-verify-swift -solver-memory-threshold=32000
|
||||
// REQUIRES: OS=ios
|
||||
import UIKit
|
||||
class MyViewCell: UITableViewCell {
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
// RUN: %target-typecheck-verify-swift -solver-memory-threshold 1
|
||||
// RUN: %target-typecheck-verify-swift -solver-memory-threshold=1
|
||||
|
||||
func foo() { _ = 1 } // expected-error {{the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions}}
|
||||
|
||||
Reference in New Issue
Block a user