repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gccrs: Handle `async` functions in traits
[official-gcc.git]
/
gcc
/
testsuite
/
rust
/
compile
/
proc_macro_non_root_module.rs
blob
1028612a35ec2d58932b9d458999488dbb961fad
1
// { dg-additional-options "-frust-crate-type=proc-macro" }
2
3
mod test_module {
4
#[proc_macro]
5
pub fn non_root_function() {} // { dg-error "functions tagged with .#.proc_macro.. must currently reside in the root of the crate" }
6
}