summaryrefslogtreecommitdiffstats
path: root/Tests/FindGTK2/glib/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindGTK2/glib/main.c')
-rw-r--r--Tests/FindGTK2/glib/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/FindGTK2/glib/main.c b/Tests/FindGTK2/glib/main.c
new file mode 100644
index 0000000..80d0554
--- /dev/null
+++ b/Tests/FindGTK2/glib/main.c
@@ -0,0 +1,11 @@
+#include <glib.h>
+
+int main(int argc, char *argv[])
+{
+ if (!g_file_test("file", G_FILE_TEST_EXISTS)) {
+ g_print("File not found. \n");
+ } else {
+ g_print("File found. \n");
+ }
+ return 0;
+}