summary refs log tree commit diff
path: root/src/test/compile-fail/elided-test.rs
blob: 551eaf06c39bf16d328ad796cfa2af593ce34ac0 (plain)
1
2
3
4
5
6
7
// error-pattern: main function not found

// Since we're not compiling a test runner this function should be elided
// and the build will fail because main doesn't exist
#[test]
fn main() {
}