aboutsummaryrefslogtreecommitdiff
path: root/contrib/libcbor/test/cpp_linkage_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libcbor/test/cpp_linkage_test.cpp')
-rw-r--r--contrib/libcbor/test/cpp_linkage_test.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/libcbor/test/cpp_linkage_test.cpp b/contrib/libcbor/test/cpp_linkage_test.cpp
new file mode 100644
index 000000000000..a37351f0bc83
--- /dev/null
+++ b/contrib/libcbor/test/cpp_linkage_test.cpp
@@ -0,0 +1,11 @@
+/*
+ * Copyright (c) 2014-2020 Pavel Kalvoda <me@pavelkalvoda.com>
+ *
+ * libcbor is free software; you can redistribute it and/or modify
+ * it under the terms of the MIT license. See LICENSE for details.
+ */
+
+#include <iostream>
+#include "cbor.h"
+
+int main() { std::cout << "Hello from libcbor " << CBOR_VERSION << std::endl; }