gccrs: Add a new regression test for issue 2665
commit973e962ee5ca29535d1b2b9838256553abe05f1d
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Mon, 23 Oct 2023 15:16:25 +0000 (23 17:16 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:09:25 +0000 (16 19:09 +0100)
tree067aba0163362fdb727b7135e6a0e00500e2e757
parent91732258cedf367ac0f4dbe75aef7d0e22d46b3a
gccrs: Add a new regression test for issue 2665

Highlight issue 2665's fix for const with no value expression.

gcc/testsuite/ChangeLog:

* rust/compile/issue-2665.rs: New test.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/testsuite/rust/compile/issue-2665.rs [new file with mode: 0644]