Skip to content

Commit 0adfee3

Browse files
committed
Add test that covers bitfields with documentation
1 parent 8a9868b commit 0adfee3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/cpp/rpytest/ft/include/docstrings.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ struct DocClass
2626
/** An awesome variable, use it for something */
2727
int sweet_var;
2828

29+
/** this is a bitfield */
30+
int bitfield: 1;
31+
2932
/**
3033
* Construct a Ramsete unicycle controller.
3134
*

0 commit comments

Comments
 (0)