2018-03-13 13:22:43 -05:00
|
|
|
// error-pattern: `main` function not found
|
2012-01-05 19:30:00 -06: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 13:47:00 -06:00
|
|
|
}
|