Skip to content

Commit

Permalink
Add regression check for PR OpenDDS#4800 to idl_test1
Browse files Browse the repository at this point in the history
  • Loading branch information
banburybill committed Sep 19, 2024
1 parent 29eed53 commit 9461166
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/DCPS/Compiler/idl_test1_lib/FooDef.idl
Original file line number Diff line number Diff line change
Expand Up @@ -279,3 +279,14 @@ union B88 switch (long) {
case 2: B43 b_85_2;
case 3: B41 b_85_3;
};

// Regression check that module and struct names containing '_' compile
// correctly. https://github.com/OpenDDS/OpenDDS/pull/4800.
module Test_Module
{
typedef sequence<char, 100> A_Char100S;
};

struct TestModuleStruct {
@id(1) sequence <Test_Module::A_Char100S> sequence_field;
};

0 comments on commit 9461166

Please sign in to comment.