Skip to content

Commit

Permalink
testdata: add inline example
Browse files Browse the repository at this point in the history
  • Loading branch information
200sc committed Jul 2, 2024
1 parent a83e7ef commit 50a573a
Show file tree
Hide file tree
Showing 6 changed files with 864 additions and 0 deletions.
1 change: 1 addition & 0 deletions gen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ var genTestFiles = []string{
"jazz",
"lab",
"map_types",
"message_inline",
"message_map",
"msgpack_comparison",
"request",
Expand Down
7 changes: 7 additions & 0 deletions testdata/base/message_inline.bop
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
message MessageInline {
1 -> bool OnOff;
}

message MessageInlineWrapper {
1 -> MessageInline Bla;
}
266 changes: 266 additions & 0 deletions testdata/generated-always-pointers/message_inline.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 50a573a

Please sign in to comment.