Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
|
@ -1,44 +0,0 @@
|
|||
// run-pass
|
||||
|
||||
fn main() {
|
||||
let buf = &[0u8; 4];
|
||||
match buf {
|
||||
&[0, 1, 0, 0] => unimplemented!(),
|
||||
b"true" => unimplemented!(),
|
||||
_ => {}
|
||||
}
|
||||
|
||||
match buf {
|
||||
b"true" => unimplemented!(),
|
||||
&[0, 1, 0, 0] => unimplemented!(),
|
||||
_ => {}
|
||||
}
|
||||
|
||||
match buf {
|
||||
b"true" => unimplemented!(),
|
||||
&[0, x, 0, 0] => assert_eq!(x, 0),
|
||||
_ => unimplemented!(),
|
||||
}
|
||||
|
||||
let buf: &[u8] = buf;
|
||||
|
||||
match buf {
|
||||
&[0, 1, 0, 0] => unimplemented!(),
|
||||
&[_] => unimplemented!(),
|
||||
&[_, _, _, _, _, ..] => unimplemented!(),
|
||||
b"true" => unimplemented!(),
|
||||
_ => {}
|
||||
}
|
||||
|
||||
match buf {
|
||||
b"true" => unimplemented!(),
|
||||
&[0, 1, 0, 0] => unimplemented!(),
|
||||
_ => {}
|
||||
}
|
||||
|
||||
match buf {
|
||||
b"true" => unimplemented!(),
|
||||
&[0, x, 0, 0] => assert_eq!(x, 0),
|
||||
_ => unimplemented!(),
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue