Skip to content

Commit

Permalink
Test case: scoped structures (#25)
Browse files Browse the repository at this point in the history
Signed-off-by: JLBuenoLopez-eProsima <[email protected]>
  • Loading branch information
JLBuenoLopez committed Feb 15, 2024
1 parent 6e8e239 commit 049a2a3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions IDL/structures.idl
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,37 @@ struct Structures
StructBitset var_StructBitset;
StructEmpty var_StructEmpty;
};

module testing_1
{
struct foo
{
long a;
long b;
};
};

module testing_2
{
struct foo
{
boolean d;
};
};

struct bar
{
double e;
};

struct root1
{
testing_1::foo foo_struct;
float c;
};

struct root2
{
testing_2::foo foo_struct;
bar bar_struct;
};

0 comments on commit 049a2a3

Please sign in to comment.