Add a regression test for TestCase::Or without place

This commit is contained in:
Maja Kądziołka 2025-03-26 02:23:13 +01:00
parent c8a5b3677b
commit 1524060da6
No known key found for this signature in database

View file

@ -0,0 +1,11 @@
//@ edition:2024
//@ check-pass
pub fn f(x: (u32, u32)) {
let _ = || {
let ((0, a) | (a, _)) = x;
a
};
}
fn main() {}