rust/tests/ui/proc_macro.rs

9 lines
134 B
Rust
Raw Normal View History

2019-02-24 15:59:58 +01:00
//! Check that we correctly lint procedural macros.
#![crate_type = "proc-macro"]
#[allow(dead_code)]
fn f() {
let _x = 3.14;
}