]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add testcases for handling struct as scrutinee for match expr
authorNobel Singh <nobel2073@gmail.com>
Tue, 23 Apr 2024 20:22:52 +0000 (02:07 +0545)
committerP-E-P <32375388+P-E-P@users.noreply.github.com>
Wed, 15 May 2024 13:54:29 +0000 (13:54 +0000)
commit154ce770c6844d7211276a53b2ec3db0b5e3f485
tree696093cfba43cad3261fa18043281e702d851bcf
parent9e45b86996ebff8bc9ac99170a2d0e1374c8fd7f
Add testcases for handling struct as scrutinee for match expr

gcc/testsuite/ChangeLog:

* rust/compile/issue-2906.rs: New test.
* rust/execute/torture/issue-2906.rs: New test.

Signed-off-by: Nobel Singh <nobel2073@gmail.com>
gcc/testsuite/rust/compile/issue-2906.rs [new file with mode: 0644]
gcc/testsuite/rust/execute/torture/issue-2906.rs [new file with mode: 0644]