]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Add a regression test for unsafe module validation
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Tue, 21 Nov 2023 18:34:36 +0000 (19:34 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 30 Jan 2024 11:36:47 +0000 (12:36 +0100)
commit088e3b0b7af1b6a38057c8717227867831d00c5e
tree49cef11b0936307714b0f0207dcaddc87e939750
parent5959f32d28ff76b3e9c177914f034aae72c9a835
gccrs: Add a regression test for unsafe module validation

Add a new test to check for unsafe modules during AST validation pass.

gcc/testsuite/ChangeLog:

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

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