aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug17202
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2013-12-29 03:36:26 +0100
committerTristan Gingold <tgingold@free.fr>2013-12-29 03:36:26 +0100
commit1bc2216d457b894545c08d995f43214af6e497f4 (patch)
tree689cefca07cd0ab6c6409f3bec87781d88fe255c /testsuite/gna/bug17202
parentfffdd1e2a8c729ccb454f2dd9865f682f61610ef (diff)
downloadghdl-1bc2216d457b894545c08d995f43214af6e497f4.tar.gz
ghdl-1bc2216d457b894545c08d995f43214af6e497f4.tar.bz2
ghdl-1bc2216d457b894545c08d995f43214af6e497f4.zip
Add bug17202.
Diffstat (limited to 'testsuite/gna/bug17202')
-rw-r--r--testsuite/gna/bug17202/test.vhdl5
-rwxr-xr-xtestsuite/gna/bug17202/testsuite.sh10
2 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/bug17202/test.vhdl b/testsuite/gna/bug17202/test.vhdl
new file mode 100644
index 000000000..c2e22ac22
--- /dev/null
+++ b/testsuite/gna/bug17202/test.vhdl
@@ -0,0 +1,5 @@
+entity test_val is end test_val;
+architecture test of test_val is
+signal t : time := time'value("123 fs");
+begin
+end test;
diff --git a/testsuite/gna/bug17202/testsuite.sh b/testsuite/gna/bug17202/testsuite.sh
new file mode 100755
index 000000000..4dcec7c6d
--- /dev/null
+++ b/testsuite/gna/bug17202/testsuite.sh
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze test.vhdl
+elab_simulate test_val
+
+clean
+
+echo "Test successful"