Move no_main test to compile-fail
This commit is contained in:
parent
c93fc933bd
commit
d23e245f38
2
tests/compile-fail/no_main.rs
Normal file
2
tests/compile-fail/no_main.rs
Normal file
@ -0,0 +1,2 @@
|
||||
// error-pattern: miri can only run programs that have a main function
|
||||
#![no_main]
|
@ -1 +0,0 @@
|
||||
#![no_main]
|
@ -1,2 +0,0 @@
|
||||
error: miri can only run programs that have a main function
|
||||
|
Loading…
x
Reference in New Issue
Block a user