]> git.lizzy.rs Git - rust.git/blob - src/test/ui/invalid_crate_type_syntax.rs
Rollup merge of #100819 - WaffleLapkin:use_ptr_byte_methods, r=scottmcm
[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() {}