aboutsummaryrefslogtreecommitdiffstats
path: root/tests/verilog/macro_unapplied_newline.ys
diff options
context:
space:
mode:
Diffstat (limited to 'tests/verilog/macro_unapplied_newline.ys')
-rw-r--r--tests/verilog/macro_unapplied_newline.ys5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/verilog/macro_unapplied_newline.ys b/tests/verilog/macro_unapplied_newline.ys
new file mode 100644
index 000000000..a3f88d5b4
--- /dev/null
+++ b/tests/verilog/macro_unapplied_newline.ys
@@ -0,0 +1,5 @@
+logger -expect error "Expected to find '\(' to begin macro arguments for 'foo', but instead found '\\x0a'" 1
+read_verilog -sv <<EOT
+`define foo(a=1) (a)
+`foo
+EOT