]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add new test for box syntax
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Sun, 19 May 2024 00:11:36 +0000 (02:11 +0200)
committerP-E-P <32375388+P-E-P@users.noreply.github.com>
Tue, 11 Jun 2024 11:19:26 +0000 (11:19 +0000)
commit36a21ef17c09dccc03d6d84a4f37b06b1b9cf716
tree9bdbaaf012efa9040452b2f51c63bbe1a4f436e2
parentca178958c4bb599da331f62cc5cc8a480ea5371e
Add new test for box syntax

Add a new test to prevent regressions on the box syntax as well as its
feature gate.

gcc/testsuite/ChangeLog:

* rust/compile/box_syntax.rs: New test.
* rust/compile/box_syntax_feature_gate.rs: New test.

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