summaryrefslogtreecommitdiff
path: root/tests/data/empty-code.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/empty-code.c')
-rw-r--r--tests/data/empty-code.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/data/empty-code.c b/tests/data/empty-code.c
new file mode 100644
index 0000000..6f0f619
--- /dev/null
+++ b/tests/data/empty-code.c
@@ -0,0 +1,20 @@
+/* SCANNER TEST */
+
+#include <stdlib.h>
+#include <stdint.h>
+#include "wayland-util.h"
+
+
+static const struct wl_interface *empty_types[] = {
+};
+
+static const struct wl_message empty_requests[] = {
+ { "empty", "", empty_types + 0 },
+};
+
+WL_EXPORT const struct wl_interface empty_interface = {
+ "empty", 1,
+ 1, empty_requests,
+ 0, NULL,
+};
+