]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Add a new test for mbe named macro_rules
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Tue, 17 Oct 2023 12:56:09 +0000 (14:56 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:09:17 +0000 (19:09 +0100)
commit1e841fd604680b07968a9142388633fb50384e16
tree015b82e8cb2b2fd3bd3e053af7575d6df2035a1c
parent46c84b78055325e2001ac6336f34e8ef5393db05
gccrs: Add a new test for mbe named macro_rules

Macro rules named macro_rules may cause some problems if not handled
correctly. This new test ensure we always compile those macros named
macro_rules correctly as well as other macro definitions.

gcc/testsuite/ChangeLog:

* rust/compile/macro57.rs: New test.

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