aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-07-26 12:47:57 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:56:02 +0100
commitce7f0df47e83b16c3d7bedfbd7966f01d7ce14b1 (patch)
treee136d63c62bef0d74f72becd89e7bbaa6d4c0e4d /gcc/rust
parentb05d874fc527f81c54b50e62f204eb8cd04250d8 (diff)
downloadgcc-ce7f0df47e83b16c3d7bedfbd7966f01d7ce14b1.zip
gcc-ce7f0df47e83b16c3d7bedfbd7966f01d7ce14b1.tar.gz
gcc-ce7f0df47e83b16c3d7bedfbd7966f01d7ce14b1.tar.bz2
gccrs: Add multiple tests for non root proc macro
Add multiple tests to prevent regressions on procedural macros errors when one is declared outside of the crate's top level. gcc/testsuite/ChangeLog: * rust/compile/proc_macro_attribute_non_root_function.rs: New test. * rust/compile/proc_macro_attribute_non_root_method.rs: New test. * rust/compile/proc_macro_attribute_non_root_module.rs: New test. * rust/compile/proc_macro_derive_non_root_function.rs: New test. * rust/compile/proc_macro_derive_non_root_method.rs: New test. * rust/compile/proc_macro_derive_non_root_module.rs: New test. * rust/compile/proc_macro_non_root_function.rs: New test. * rust/compile/proc_macro_non_root_method.rs: New test. * rust/compile/proc_macro_non_root_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