summaryrefslogtreecommitdiffstats
path: root/manual tests/1 wrap/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'manual tests/1 wrap/main.c')
-rw-r--r--manual tests/1 wrap/main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/manual tests/1 wrap/main.c b/manual tests/1 wrap/main.c
new file mode 100644
index 0000000..df6abe4
--- /dev/null
+++ b/manual tests/1 wrap/main.c
@@ -0,0 +1,12 @@
+#include<sqlite3.h>
+#include<stdio.h>
+
+int main(void) {
+ sqlite3 *db;
+ if(sqlite3_open(":memory:", &db) != SQLITE_OK) {
+ printf("Sqlite failed.\n");
+ return 1;
+ }
+ sqlite3_close(db);
+ return 0;
+}