summaryrefslogtreecommitdiffstats
path: root/Tests/FindJsonCpp/Test/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindJsonCpp/Test/main.cxx')
-rw-r--r--Tests/FindJsonCpp/Test/main.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/FindJsonCpp/Test/main.cxx b/Tests/FindJsonCpp/Test/main.cxx
new file mode 100644
index 0000000..0fefe32
--- /dev/null
+++ b/Tests/FindJsonCpp/Test/main.cxx
@@ -0,0 +1,8 @@
+#include <json/json.h>
+
+int main()
+{
+ int zero = 0;
+ Json::Value value(zero);
+ return value.asInt();
+}