stdlib: don't use assert() in stdlib implementation

Swift SVN r18653
This commit is contained in:
Dmitri Hrybenko
2014-05-28 20:43:56 +00:00
parent 5718e5fe3d
commit 473ad2e1eb
4 changed files with 10 additions and 6 deletions

View File

@@ -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)