blob: 6911dbd07eb1c23d0a5aeee34460ba9e1b1a7b9e [file] [log] [blame]
drhce3c5012016-05-25 18:53:39 +00001/*
2** Compile this program against an SQLite library of unknown version
3** and then run this program, and it will print out the SQLite version
4** information.
5*/
6#include <stdio.h>
7
8extern const char *sqlite3_libversion(void);
9extern const char *sqlite3_sourceid(void);
10
11int main(int argc, char **argv){
12 printf("SQLite version %s\n", sqlite3_libversion());
13 printf("SQLite source %s\n", sqlite3_sourceid());
14 return 0;
15}