Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
phannebohm committed Jul 4, 2024
1 parent 4b6cb37 commit 0628d4a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/metamodelica/Types.test.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// SYNTAX TEST "source.metamodelica" "Types"

type L = list<P>;
// ^^^^ source.metamodelica storage.type
// ^ source.metamodelica storage.type
type T = tuple<P, Q>;
// ^^^^^ source.metamodelica storage.type
// ^ source.metamodelica storage.type
// ^ source.metamodelica storage.type
type A = array<P>;
// ^^^^^ source.metamodelica storage.type
// ^ source.metamodelica storage.type
type O = Option<P>;
// ^^^^^^ source.metamodelica storage.type
// ^ source.metamodelica storage.type

0 comments on commit 0628d4a

Please sign in to comment.