]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: privacy: Add tests for private proc macro error
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Thu, 20 Jul 2023 10:37:47 +0000 (12:37 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:56:00 +0000 (18:56 +0100)
commit1a02c452a6496c4f75296f0ee5669f0f9befaee6
tree7d034e82d4010e97eb50eb5c71fe1c6177e0d81b
parente615b4fa5f3b2fda29f13db216c59d46837cfb85
gccrs: privacy: Add tests for private proc macro error

Add some tests to prevent regression on private procedural macros error
messages.

gcc/testsuite/ChangeLog:

* rust/compile/proc_macro_attribute_private.rs: New test.
* rust/compile/proc_macro_derive_private.rs: New test.
* rust/compile/proc_macro_private.rs: New test.

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