Skip to content

Commit

Permalink
Add test IDL
Browse files Browse the repository at this point in the history
    * tests/idl4/default_literal/test.idl:
      Added.
  • Loading branch information
jwillemsen committed Sep 4, 2024
1 parent e289ff9 commit 6f76375
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/idl4/default_literal/test.idl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* @file test.idl
* @author Johnny Willemsen
*
* @copyright Copyright (c) Remedy IT Expertise BV
*/

enum Color {
GREEN,
@default_literal RED,
BLUE
};

typedef Color ColorArray[5];
typedef sequence<Color> ColorSeq;

struct Shape {
Color color_red;
ColorArray color_red_array;
ColorSeq color_seq;
};

0 comments on commit 6f76375

Please sign in to comment.