diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-11-21 20:10:58 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-12-11 19:21:02 +0000 |
| commit | 5bd1276d2024bf84ea5dfe1b1b43f39cc13b0764 (patch) | |
| tree | cc5d4609a4e620d474447786640f815b4a12d311 /test cases/unit/87 cpp modules/main.cpp | |
| parent | b8cb53791e7211c5dd8ba7c397e35e4280300e11 (diff) | |
| download | meson-5bd1276d2024bf84ea5dfe1b1b43f39cc13b0764.tar.gz | |
Create unit test for C++ modules and accept ixx as C++ source extension.
Diffstat (limited to 'test cases/unit/87 cpp modules/main.cpp')
| -rw-r--r-- | test cases/unit/87 cpp modules/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test cases/unit/87 cpp modules/main.cpp b/test cases/unit/87 cpp modules/main.cpp new file mode 100644 index 000000000..d825c7d49 --- /dev/null +++ b/test cases/unit/87 cpp modules/main.cpp @@ -0,0 +1,7 @@ +import M0; +#include<cstdio> + +int main() { + printf("The value is %d", func0()); + return 0; +} |
