Skip to content

Commit 049a2a3

Browse files
committed
Test case: scoped structures (#25)
Signed-off-by: JLBuenoLopez-eProsima <[email protected]>
1 parent 6e8e239 commit 049a2a3

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

IDL/structures.idl

+34
Original file line numberDiff line numberDiff line change
@@ -162,3 +162,37 @@ struct Structures
162162
StructBitset var_StructBitset;
163163
StructEmpty var_StructEmpty;
164164
};
165+
166+
module testing_1
167+
{
168+
struct foo
169+
{
170+
long a;
171+
long b;
172+
};
173+
};
174+
175+
module testing_2
176+
{
177+
struct foo
178+
{
179+
boolean d;
180+
};
181+
};
182+
183+
struct bar
184+
{
185+
double e;
186+
};
187+
188+
struct root1
189+
{
190+
testing_1::foo foo_struct;
191+
float c;
192+
};
193+
194+
struct root2
195+
{
196+
testing_2::foo foo_struct;
197+
bar bar_struct;
198+
};

0 commit comments

Comments
 (0)