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