]> git.lizzy.rs Git - rust.git/commit
add tests for invalid float-to-int casts
authorRalf Jung <post@ralfj.de>
Sun, 12 Apr 2020 10:01:07 +0000 (12:01 +0200)
committerRalf Jung <post@ralfj.de>
Sun, 12 Apr 2020 10:01:20 +0000 (12:01 +0200)
commit17c52d47e70aff4a6ee290de5475228cdb3cc2a3
tree3a3b9b0f842557afc787ad3a53479cae52ad46fe
parent25c71e5c0e88fb9fa9e657549658760f2e8d6bb2
add tests for invalid float-to-int casts
21 files changed:
tests/compile-fail/intrinsics/float_to_int_32_inf1.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_32_infneg1.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_32_nan.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_32_nanneg.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_32_neg.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_32_too_big1.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_32_too_big2.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_32_too_small1.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_64_inf1.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_64_infneg1.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_64_infneg2.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_64_nan.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_64_neg.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_64_too_big1.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_64_too_big2.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_64_too_big3.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_64_too_big4.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_64_too_big5.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_64_too_small1.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_64_too_small2.rs [new file with mode: 0644]
tests/compile-fail/intrinsics/float_to_int_64_too_small3.rs [new file with mode: 0644]