diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2021-10-01 23:46:00 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2021-10-01 23:46:00 +0000 |
| commit | 5b2defbd2a1aa991bd0a2855eef8e15107572747 (patch) | |
| tree | 0e8b33a28f1fb7396bf8b6fcef974fa82de59e9d /test/cpp_linkage_test.cpp | |
Diffstat (limited to 'test/cpp_linkage_test.cpp')
| -rw-r--r-- | test/cpp_linkage_test.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/cpp_linkage_test.cpp b/test/cpp_linkage_test.cpp new file mode 100644 index 000000000000..a37351f0bc83 --- /dev/null +++ b/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; } |
