aboutsummaryrefslogtreecommitdiff
path: root/manual tests/1 wrap/main.c
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-02-04 20:35:06 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2015-02-04 20:35:06 +0200
commit1eaf6673b73be1393de61f0367d1fd352872b5cc (patch)
tree960662a4757868851211f750b28010e040f4ade7 /manual tests/1 wrap/main.c
parenta91b3fcdc5407bb881f76a53253d273b620c50fc (diff)
downloadmeson-1eaf6673b73be1393de61f0367d1fd352872b5cc.zip
meson-1eaf6673b73be1393de61f0367d1fd352872b5cc.tar.gz
meson-1eaf6673b73be1393de61f0367d1fd352872b5cc.tar.bz2
Moved files.
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..39d3a9a
--- /dev/null
+++ b/manual tests/1 wrap/main.c
@@ -0,0 +1,12 @@
+#include<sqlite3.h>
+#include<stdio.h>
+
+int main(int argc, char **argv) {
+ sqlite3 *db;
+ if(sqlite3_open(":memory:", &db) != SQLITE_OK) {
+ printf("Sqlite failed.\n");
+ return 1;
+ }
+ sqlite3_close(db);
+ return 0;
+}