about summary refs log tree commit diff
path: root/tests/ui/invalid-compile-flags/print-file-names-request-malformed-crate-name.rs
blob: 6441017c665e7fcaaae61ff7385d16e11bdd5a4e (plain)
1
2
3
4
5
// Ensure we validate `#![crate_name]` on print requests and reject macro calls inside of it.
// See also <https://github.com/rust-lang/rust/issues/122001>.

//@ compile-flags: --print=file-names
#![crate_name = concat!("wrapped")] //~ ERROR attribute value must be a literal