Test fixes from the rollup
This commit is contained in:
parent
1ae44c2059
commit
d3e171861f
3 changed files with 4 additions and 2 deletions
src/test/compile-fail
|
@ -12,6 +12,6 @@
|
|||
|
||||
fn main() {
|
||||
unsafe {
|
||||
asm!("nowayisthisavalidinstruction"); //~ ERROR invalid instruction mnemonic
|
||||
asm!("nowayisthisavalidinstruction"); //~ ERROR invalid instruction
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-test
|
||||
|
||||
pub fn main() {
|
||||
match 22i {
|
||||
0 .. 3 => {} //~ ERROR expected `=>`, found `..`
|
||||
|
|
Loading…
Add table
Reference in a new issue