Files
swift-mirror/test/Misc/prioritize_solver_memory_threshold.swift

4 lines
244 B
Swift

// 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}}