summaryrefslogtreecommitdiff
path: root/tests/annotations.simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/annotations.simple.c')
-rw-r--r--tests/annotations.simple.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/annotations.simple.c b/tests/annotations.simple.c
new file mode 100644
index 0000000..0a84f10
--- /dev/null
+++ b/tests/annotations.simple.c
@@ -0,0 +1,20 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+#include <glib.h>
+#include <gio/gio.h>
+
+/*
+ * No error
+ */
+void
+g_input_stream_read_async (GInputStream *stream,
+ void *buffer,
+ gsize count,
+ int io_priority,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data)
+{
+ // Do nothing.
+}