aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/sanity/004all08/ams08.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sanity/004all08/ams08.vhdl')
-rw-r--r--testsuite/sanity/004all08/ams08.vhdl14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/sanity/004all08/ams08.vhdl b/testsuite/sanity/004all08/ams08.vhdl
new file mode 100644
index 000000000..c6af0f7fe
--- /dev/null
+++ b/testsuite/sanity/004all08/ams08.vhdl
@@ -0,0 +1,14 @@
+entity vibration is
+end;
+
+architecture behav of vibration is
+ subtype displacement is real tolerance "def_disp";
+ nature electrical is real across real through ref reference;
+ quantity x1 : real;
+ terminal v0, v1 : electrical;
+-- quantity vd1 across id1, ic1 through v0 to v1;
+ quantity vd2 := 5.2 across v0 to v1;
+ quantity vd3 through v0 to v1;
+begin
+ x1 == 3.5;
+end behav;