diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-05-03 00:44:37 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-03 00:44:37 +0300 |
| commit | 6c115f1626f9f1f945b3de75ca38f5bc2ac4aad3 (patch) | |
| tree | 66f687ed20229ff8e2515d2df0ec9ed27997faea /test cases/d/10 d cpp/libfile.cpp | |
| parent | 8d5598227ecc9be346919532fd1ee0cf71a82312 (diff) | |
| parent | a2fdaa9ea081304dda70557755f5895194227668 (diff) | |
| download | meson-6c115f1626f9f1f945b3de75ca38f5bc2ac4aad3.tar.gz | |
Merge pull request #3474 from mesonbuild/dcpp
Can combine D and C++ in a single target.
Diffstat (limited to 'test cases/d/10 d cpp/libfile.cpp')
| -rw-r--r-- | test cases/d/10 d cpp/libfile.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/d/10 d cpp/libfile.cpp b/test cases/d/10 d cpp/libfile.cpp new file mode 100644 index 000000000..2ea67fc92 --- /dev/null +++ b/test cases/d/10 d cpp/libfile.cpp @@ -0,0 +1,5 @@ +#include<iostream> + +void print_hello(int i) { + std::cout << "Hello. Here is a number printed with C++: " << i << ".\n"; +} |
