Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
Update nfinst tests.
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#2108
  - #822
  • Loading branch information
perost authored and OpenModelica-Hudson committed Jan 12, 2018
1 parent 6d6e41b commit c09764a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flattening/modelica/scodeinst/CevalInteger1.mo
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@

model CevalInteger1
constant Integer i1 = integer(3.4);
constant Integer i2 = integer(4 / 2);
constant Integer i3 = integer(2);
end CevalInteger1;

// Result:
// class CevalInteger1
// constant Integer i1 = 3;
// constant Integer i2 = 2;
// constant Integer i3 = 2;
// end CevalInteger1;
// endResult

0 comments on commit c09764a

Please sign in to comment.