2024-02-16 20:02:50 +00:00
|
|
|
//@ error-pattern: `main` function not found
|
2012-01-05 17:30:00 -08: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 11:47:00 -08:00
|
|
|
}
|