about summary refs log tree commit diff
path: root/tests/ui/rust-2024/unsafe-attributes/unsafe-attributes-from-pm.rs
blob: 8b7073649b7a299e23d5cf19ab6f8df6c4b6619a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Test for unsafe attributes generated by a proc-macro.
// See https://github.com/rust-lang/rust/issues/132906

//@ revisions: edition2021 edition2024
//@ check-pass
//@[edition2021] edition:2021
//@[edition2024] edition:2024
//@ proc-macro: unsafe-attributes-pm.rs
//@ ignore-backends: gcc

unsafe_attributes_pm::missing_unsafe!();

unsafe_attributes_pm::macro_rules_missing_unsafe!();

make_fn!();

fn main() {}