summaryrefslogtreecommitdiffstats
path: root/test-sqlite3_errstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-sqlite3_errstr.c')
-rw-r--r--test-sqlite3_errstr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-sqlite3_errstr.c b/test-sqlite3_errstr.c
new file mode 100644
index 00000000..041bf628
--- /dev/null
+++ b/test-sqlite3_errstr.c
@@ -0,0 +1,8 @@
+#include <string.h>
+#include <sqlite3.h>
+
+int
+main(void)
+{
+ return(strcmp(sqlite3_errstr(SQLITE_OK), "not an error"));
+}