commit 871163b6e8f5586e9f83b3f575e986d5b689e917 parent 9a5bb3fc4ee7339fe957ae5238b7fffdc3f022cf Author: Alexandre Bique <bique.alexandre@gmail.com> Date: Tue, 14 Jun 2022 09:28:39 +0200 Use param_info.module in compile test Diffstat:
M | src/main.cc | | | 9 | +++++++-- |
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/main.cc b/src/main.cc @@ -4,4 +4,9 @@ static const constexpr clap_version m = CLAP_VERSION; -int main(int, char **) { return !clap_version_is_compatible(m); } -\ No newline at end of file +int main(int, char **) { + clap_param_info param_info; + param_info.module[0] = 'm'; + + return !clap_version_is_compatible(m); +} +\ No newline at end of file