Merge Makefile rewrite into master
[ccan] / ccan / opt / test / compile_ok-const-arg.c
1 #include <ccan/opt/opt.h>
2 #include <ccan/opt/opt.c>
3 #include <ccan/opt/helpers.c>
4 #include <ccan/opt/parse.c>
5 #include <ccan/opt/usage.c>
6
7 int main(void)
8 {
9         opt_register_noarg("-v", opt_version_and_exit,
10                            (const char *)"1.2.3",
11                            (const char *)"Print version");
12         return 0;
13 }