aboutsummaryrefslogtreecommitdiffstats
path: root/modelica-parser-lalrpop/examples/minimal3.modelica
diff options
context:
space:
mode:
Diffstat (limited to 'modelica-parser-lalrpop/examples/minimal3.modelica')
-rw-r--r--modelica-parser-lalrpop/examples/minimal3.modelica8
1 files changed, 8 insertions, 0 deletions
diff --git a/modelica-parser-lalrpop/examples/minimal3.modelica b/modelica-parser-lalrpop/examples/minimal3.modelica
new file mode 100644
index 0000000..1e9a211
--- /dev/null
+++ b/modelica-parser-lalrpop/examples/minimal3.modelica
@@ -0,0 +1,8 @@
+model MinimalModel
+ parameter Real a;
+ Real b;
+equation
+ connect(a, b);
+ a = 1;
+ b = (abs(a) + 2) / 4;
+end FirstOrder;