about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-09-06 17:48:25 +0200
committerRalf Jung <post@ralfj.de>2023-09-08 08:59:55 +0200
commit243ef313a52835e5e980ffcc2a6d3cfce849e33d (patch)
treecb30bc8043d0ea1209c4bffa2e89b2ddf8c88c1b
parenta53c6ee0ba53ba7c4424e8ec1ca08561a880a226 (diff)
downloadrust-243ef313a52835e5e980ffcc2a6d3cfce849e33d.tar.gz
rust-243ef313a52835e5e980ffcc2a6d3cfce849e33d.zip
add a testcase for another MIPS64 bug
-rw-r--r--tests/ui/abi/compatibility.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/abi/compatibility.rs b/tests/ui/abi/compatibility.rs
index cb82e7b6ee2..c5c476ac46d 100644
--- a/tests/ui/abi/compatibility.rs
+++ b/tests/ui/abi/compatibility.rs
@@ -105,6 +105,7 @@ test_transparent!(zst, Zst);
 test_transparent!(unit, ());
 test_transparent!(pair, (i32, f32)); // mixing in some floats since they often get special treatment
 test_transparent!(triple, (i8, i16, f32)); // chosen to fit into 64bit
+test_transparent!(float_triple, (f64, f64, f64)); // hits a bug in our MIPS64 adjustments
 test_transparent!(tuple, (i32, f32, i64, f64));
 test_transparent!(empty_array, [u32; 0]);
 test_transparent!(empty_1zst_array, [u8; 0]);