]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Add a regression test for function body check
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Thu, 23 Nov 2023 13:08:50 +0000 (14:08 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 30 Jan 2024 11:36:48 +0000 (12:36 +0100)
commita7991de39ff3ef42cd48bb460a02134af73d7b9d
tree6ee197e5b667b21b8b9a6a955a04f6c18eb3b097
parent04fd5a043b08fdc4d4e60499b8fd83d02007a737
gccrs: Add a regression test for function body check

Function body check emit an error message when a required function body
is missing.

gcc/testsuite/ChangeLog:

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

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