aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue256/testcase.vhd
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue256/testcase.vhd')
-rw-r--r--testsuite/gna/issue256/testcase.vhd15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/issue256/testcase.vhd b/testsuite/gna/issue256/testcase.vhd
new file mode 100644
index 000000000..392e92380
--- /dev/null
+++ b/testsuite/gna/issue256/testcase.vhd
@@ -0,0 +1,15 @@
+entity testcase is
+ port(clk: in bit);
+begin
+ check: process is
+ begin
+ -- Require at least 10ns between clock edges
+ assert clk'delayed'last_event >= 10 ns;
+ wait on clk;
+ end process check;
+end entity testcase;
+
+-- Keep the compiler happy
+architecture empty of testcase is
+begin
+end architecture empty;