summaryrefslogtreecommitdiffstats
path: root/Tests/FindJsonCpp/Test/main.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-16 19:11:38 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-19 14:34:03 (GMT)
commit0aebeb9c84086b19c56a3ced5c95c60063ab37e2 (patch)
treea4db2166cabd84853f9c7487c0fe875f59316b38 /Tests/FindJsonCpp/Test/main.cxx
parent287070ceb8eda82cf58595c9ea2dde57b0d6d45e (diff)
downloadCMake-0aebeb9c84086b19c56a3ced5c95c60063ab37e2.zip
CMake-0aebeb9c84086b19c56a3ced5c95c60063ab37e2.tar.gz
CMake-0aebeb9c84086b19c56a3ced5c95c60063ab37e2.tar.bz2
FindJsonCpp: Add module to find JsonCpp package
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();
+}