summaryrefslogtreecommitdiffstats
path: root/Tests/FindCups/Test/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindCups/Test/main.c')
-rw-r--r--Tests/FindCups/Test/main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/FindCups/Test/main.c b/Tests/FindCups/Test/main.c
new file mode 100644
index 0000000..b69d621
--- /dev/null
+++ b/Tests/FindCups/Test/main.c
@@ -0,0 +1,12 @@
+#include <cups/cups.h>
+
+int main()
+{
+ int num_options = 0;
+ cups_option_t* options = NULL;
+
+ num_options = cupsAddOption(CUPS_COPIES, "1", num_options, &options);
+ cupsFreeOptions(num_options, options);
+
+ return 0;
+}