summaryrefslogtreecommitdiff
path: root/tests/non-glib.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/non-glib.c')
-rw-r--r--tests/non-glib.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/non-glib.c b/tests/non-glib.c
new file mode 100644
index 0000000..c82dbc9
--- /dev/null
+++ b/tests/non-glib.c
@@ -0,0 +1,10 @@
+/* Template: generic-non-glib */
+
+/*
+ * No error
+ */
+{
+ // This should compile OK without the checker falling over because
+ // glib.h has not been included.
+ printf ("Hello world!\n");
+}