gccrs: testsuite: Add empty string macro test
commit7b00a80c9df488de64f4c166af07bcb9bb3e4c6d
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Thu, 9 Feb 2023 17:24:42 +0000 (9 18:24 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 6 Apr 2023 08:47:23 +0000 (6 10:47 +0200)
tree53ef1f4327f18f04a8904437404a2842bc642592
parentb56d093e95221cd2d95b3c030f6102378eeffe69
gccrs: testsuite: Add empty string macro test

Add two new tests with empty string for include_str and include_bytes
macros.

gcc/testsuite/ChangeLog:

* rust/compile/issue-1830_bytes.rs: New test.
* rust/compile/issue-1830_str.rs: New test.

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