Skip to content

Commit

Permalink
More scodeinst test updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
perost authored and OpenModelica-Hudson committed May 25, 2016
1 parent f1fe18e commit 9e030f2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flattening/modelica/scodeinst/Makefile
Expand Up @@ -20,9 +20,11 @@ mod4.mo \
mod6.mo \
mod8.mo \
mod10.mo \
redeclare2.mo \
redeclare6.mo \
redeclare13.mo \
usertype1.mo \
usertype2.mo \

# test that currently fail. Move up when fixed.
# Run make testfailing
Expand Down Expand Up @@ -139,7 +141,6 @@ ParameterBug.mos \
PartialInst.mo \
RecursiveExtends1.mo \
RecursiveExtends2.mo \
redeclare2.mo \
redeclare4.mo \
redeclare5.mo \
redeclare11.mo \
Expand Down
5 changes: 5 additions & 0 deletions flattening/modelica/scodeinst/usertype1.mo
Expand Up @@ -9,3 +9,8 @@ type MyReal = Real;
model M
MyReal x;
end M;
// Result:
// class M
// Real x;
// end M;
// endResult
6 changes: 6 additions & 0 deletions flattening/modelica/scodeinst/usertype2.mo
Expand Up @@ -10,3 +10,9 @@ model M
MyReal x;
Real y(start = 1.0);
end M;
// Result:
// class M
// Real x(start = 1.0);
// Real y(start = 1.0);
// end M;
// endResult

0 comments on commit 9e030f2

Please sign in to comment.