]> git.lizzy.rs Git - rust.git/blob - src/test/ui/invalid_crate_type_syntax.rs
Rollup merge of #101388 - compiler-errors:issue-101376, r=fee1-dead
[rust.git] / src / test / ui / invalid_crate_type_syntax.rs
1 // regression test for issue 16974
2 #![crate_type(lib)]  //~ ERROR malformed `crate_type` attribute input
3
4 fn my_lib_fn() {}
5
6 fn main() {}