]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: 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)
committerArthur Cohen <arthur.cohen@embecosm.com>
Mon, 17 Mar 2025 15:35:23 +0000 (16:35 +0100)
commit539fa6e83798b621eb84eb2ad192c8e65bb1817a
tree5908e365353023786a0861bf30551763b2f5fa40
parenta929d6573468882a3e7217f5bd0ff65764e5a631
gccrs: 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]