Add more no-op tests
This commit is contained in:
parent
cde2a1de36
commit
b9dd7db817
@ -396,6 +396,22 @@ fn f() {
|
||||
fn f(x: u8) {
|
||||
if x $0
|
||||
}
|
||||
"#,
|
||||
);
|
||||
type_char_noop(
|
||||
'=',
|
||||
r#"
|
||||
fn f(x: u8) {
|
||||
if x $0 {}
|
||||
}
|
||||
"#,
|
||||
);
|
||||
type_char_noop(
|
||||
'=',
|
||||
r#"
|
||||
fn f(x: u8) {
|
||||
if x $0 0 {}
|
||||
}
|
||||
"#,
|
||||
);
|
||||
type_char_noop(
|
||||
|
Loading…
Reference in New Issue
Block a user