summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug030/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold2015-12-22 20:22:52 +0100
committerTristan Gingold2015-12-22 20:22:52 +0100
commit1120e5730857dc06e1a49d6ad178b1367b383351 (patch)
tree11efc90e1cfb74e41f76856a4288a4f58d209d57 /testsuite/gna/bug030/testsuite.sh
parent53d4861c853bc057b5db337f617d0311bc3a1e85 (diff)
downloadghdl-1120e5730857dc06e1a49d6ad178b1367b383351.tar.gz
ghdl-1120e5730857dc06e1a49d6ad178b1367b383351.tar.bz2
ghdl-1120e5730857dc06e1a49d6ad178b1367b383351.zip
Add test for --warn-reserved
Diffstat (limited to 'testsuite/gna/bug030/testsuite.sh')
-rwxr-xr-xtestsuite/gna/bug030/testsuite.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/gna/bug030/testsuite.sh b/testsuite/gna/bug030/testsuite.sh
new file mode 100755
index 0000000..18d8314
--- /dev/null
+++ b/testsuite/gna/bug030/testsuite.sh
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze --warn-reserved reserved1.vhdl
+analyze --warn-reserved reserved2.vhdl
+analyze --warn-reserved reserved3.vhdl
+analyze --warn-reserved --std=87 reserved4.vhdl
+
+clean
+clean --std=87
+
+echo "Test successful"