mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: don't use assert() in stdlib implementation
Swift SVN r18653
This commit is contained in:
@@ -91,7 +91,7 @@ case "32": let x = Int64(pf)
|
||||
default: break
|
||||
}
|
||||
|
||||
// CHECK: assertion failed: file {{.*}}/FloatingPoint.swift, line {{[0-9]*}}
|
||||
// CHECK: fatal error: floating point value can not be converted
|
||||
// CHECK-NEXT: CRASHED: SIG{{ILL|TRAP}}
|
||||
println("BUSTED: should have crashed already")
|
||||
exit(1)
|
||||
|
||||
Reference in New Issue
Block a user