Skip to content

Commit b3be74d

Browse files
authored
Merge pull request #15 from OpenModelica/12-provide-a-use-case-to-test-library-import
example for library import
2 parents 945e40c + a2800fb commit b3be74d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
library TestLib is {
2+
Template b1 'or' b2 = not (not b1 and not b2);
3+
};
4+
5+
model LibraryImport is TestLib union {
6+
Boolean b1 is true;
7+
Boolean b2 i false;
8+
Boolean b1_or_b2 is b1 'or' b2;
9+
};

0 commit comments

Comments
 (0)