PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/compile-fail/attr-dangling-in-fn.rs

http://github.com/jruderman/rust
Rust | 8 lines | 5 code | 2 blank | 1 comment | 0 complexity | d24f43e6eafda9810d4431d6aaf4e12f MD5 | raw file
1// error-pattern:expected item
2
3fn f() {
4  #[foo = "bar"]
5}
6
7fn main() {
8}