aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug0122/tab1.ref
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-05-23 08:08:52 +0200
committerTristan Gingold <tgingold@free.fr>2021-05-23 08:08:52 +0200
commitb99e2d89d36dad8ac34b3fedb3496ed705df8092 (patch)
tree874af6851a0082113b40ff1a33330d0ecc67529d /testsuite/gna/bug0122/tab1.ref
parentc195530b5d37caed3536ca767c4fc3e75b3eadc0 (diff)
downloadghdl-b99e2d89d36dad8ac34b3fedb3496ed705df8092.tar.gz
ghdl-b99e2d89d36dad8ac34b3fedb3496ed705df8092.tar.bz2
ghdl-b99e2d89d36dad8ac34b3fedb3496ed705df8092.zip
testsuite/gna: add a test for previous commit
Diffstat (limited to 'testsuite/gna/bug0122/tab1.ref')
-rw-r--r--testsuite/gna/bug0122/tab1.ref21
1 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/gna/bug0122/tab1.ref b/testsuite/gna/bug0122/tab1.ref
new file mode 100644
index 000000000..a5383bac3
--- /dev/null
+++ b/testsuite/gna/bug0122/tab1.ref
@@ -0,0 +1,21 @@
+tab1.vhdl:3:7: two underscores can't be consecutive
+ p__1 : bit;
+ ^
+tab1.vhdl:4:10: two underscores can't be consecutive
+ abcd__2 : bit;
+ ^
+tab1.vhdl:5:8: an identifier cannot finish with '_'
+ bad_ : bit;
+ ^
+tab1.vhdl:6:14: an identifier cannot finish with '_'
+ ontab_ : bit;
+ ^
+tab1.vhdl:7:14: an identifier cannot finish with '_'
+ notab_ : bit;
+ ^
+tab1.vhdl:8:5: an identifier can't start with '_'
+ _err : bit;
+ ^
+tab1.vhdl:9:26: underscore must be followed by a digit
+ num : integer := 1_2_);
+ ^