summaryrefslogtreecommitdiffstats
path: root/src/test/ui/elided-test.rs
blob: b3f4446f189da89aca6aff537f151bbf3f114546 (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() {
}