ppTests mv IEEE18002017_macro_mix_quotes
This commit is contained in:
parent
d40374b509
commit
f4554b062c
@ -1011,9 +1011,10 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn macro_string_literal() {
|
#[allow(non_snake_case)]
|
||||||
|
fn IEEE18002017_macro_mix_quotes() {
|
||||||
let (ret, _) = preprocess(
|
let (ret, _) = preprocess(
|
||||||
testfile_path("test6.sv"),
|
testfile_path("IEEE18002017_macro_mix_quotes.sv"),
|
||||||
&HashMap::new(),
|
&HashMap::new(),
|
||||||
&[] as &[String],
|
&[] as &[String],
|
||||||
false,
|
false,
|
||||||
@ -1022,7 +1023,7 @@ mod tests {
|
|||||||
.unwrap();
|
.unwrap();
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
ret.text(),
|
ret.text(),
|
||||||
testfile_contents("expected/macro_string_literal")
|
testfile_contents("expected/IEEE18002017_macro_mix_quotes.sv")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
`define msg(x,y) `"x: `\`"y`\`"`"
|
|
||||||
|
|
||||||
module a;
|
|
||||||
initial begin
|
|
||||||
$display(`msg(left side,right side));
|
|
||||||
end
|
|
||||||
endmodule
|
|
Loading…
x
Reference in New Issue
Block a user