2018-03-13 18:22:43 +00:00
|
|
|
// error-pattern: `main` function not found
|
2012-01-06 01:30:00 +00:00
|
|
|
|
|
|
|
// 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() {
|
2013-02-14 19:47:00 +00:00
|
|
|
}
|