aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/syntax_err12.v
diff options
context:
space:
mode:
authorUdi Finkelstein <github@udifink.com>2018-10-25 02:37:56 +0300
committerUdi Finkelstein <github@udifink.com>2018-10-25 02:37:56 +0300
commit536ae16c3abcf3fef1dd14df8733bf51fa1bce1a (patch)
tree00838e80593c2d0a8d46c1b448a44ddd62a4c796 /tests/errors/syntax_err12.v
parent11c8a9eb960fdb0a412fabcfbe787cbf5cc3a67d (diff)
downloadyosys-536ae16c3abcf3fef1dd14df8733bf51fa1bce1a.tar.gz
yosys-536ae16c3abcf3fef1dd14df8733bf51fa1bce1a.tar.bz2
yosys-536ae16c3abcf3fef1dd14df8733bf51fa1bce1a.zip
Rename the generic "Syntax error" message from the Verilog/SystemVerilog parser into unique,
meaningful info on the error. Also add 13 compilation examples that triggers each of these messages.
Diffstat (limited to 'tests/errors/syntax_err12.v')
-rw-r--r--tests/errors/syntax_err12.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/errors/syntax_err12.v b/tests/errors/syntax_err12.v
new file mode 100644
index 000000000..f9b5d5b0b
--- /dev/null
+++ b/tests/errors/syntax_err12.v
@@ -0,0 +1,7 @@
+interface iface;
+endinterface
+
+module a (
+ iface x = 1'b0
+);
+endmodule