summaryrefslogtreecommitdiff
path: root/testsuite/gna/ticket67
diff options
context:
space:
mode:
authorTristan Gingold2015-05-17 08:09:04 +0200
committerTristan Gingold2015-05-17 08:09:04 +0200
commitbe64a9e54405d840eed832e549517ad6f518335e (patch)
treeba25aa9fb731e6b38fea245a588a267f593980c0 /testsuite/gna/ticket67
parentb4131bdb55b2dd5320bd8ce3446daece8c01bb00 (diff)
downloadghdl-be64a9e54405d840eed832e549517ad6f518335e.tar.gz
ghdl-be64a9e54405d840eed832e549517ad6f518335e.tar.bz2
ghdl-be64a9e54405d840eed832e549517ad6f518335e.zip
Testcase for ticket 67
Diffstat (limited to 'testsuite/gna/ticket67')
-rw-r--r--testsuite/gna/ticket67/bug.vhdl11
-rwxr-xr-xtestsuite/gna/ticket67/testsuite.sh11
2 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/gna/ticket67/bug.vhdl b/testsuite/gna/ticket67/bug.vhdl
new file mode 100644
index 0000000..bb0ad1e
--- /dev/null
+++ b/testsuite/gna/ticket67/bug.vhdl
@@ -0,0 +1,11 @@
+entity ent is
+end entity;
+
+architecture a of ent is
+begin
+ main : process is
+ begin
+ report "s" & to_string(1);
+ wait;
+ end process;
+end architecture;
diff --git a/testsuite/gna/ticket67/testsuite.sh b/testsuite/gna/ticket67/testsuite.sh
new file mode 100755
index 0000000..27b3821
--- /dev/null
+++ b/testsuite/gna/ticket67/testsuite.sh
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+GHDL_STD_FLAGS=--std=08
+analyze bug.vhdl
+elab_simulate ent
+
+clean
+
+echo "Test successful"