diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-07-20 13:06:32 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:56:01 +0100 |
commit | 6ad3f1fa575a1debdaa6a41f698d71c73f6600fa (patch) | |
tree | a2a79ad23a92b22a624f62f66b8872b3959e1243 /gcc/rust | |
parent | de83e69bb6ea300206eaf5a0cd2d365f2444f4b5 (diff) | |
download | gcc-6ad3f1fa575a1debdaa6a41f698d71c73f6600fa.zip gcc-6ad3f1fa575a1debdaa6a41f698d71c73f6600fa.tar.gz gcc-6ad3f1fa575a1debdaa6a41f698d71c73f6600fa.tar.bz2 |
gccrs: testsuite: Add tests for pub items in proc_macros
Crates of type 'proc-macro' should not have any other pub member than
procedural macros. These new test will avoid regression on error
messages in such sitation.
gcc/testsuite/ChangeLog:
* rust/compile/proc_macro_pub_function.rs: New test.
* rust/compile/proc_macro_pub_module.rs: New test.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust')
0 files changed, 0 insertions, 0 deletions