aboutsummaryrefslogtreecommitdiff
path: root/modtest/main.cpp
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-09-26 23:58:44 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2019-09-26 23:58:44 +0300
commit3fcca74e340e23b88444748efd792df91a81da63 (patch)
treeee2418a09f9a745fa4f633041f7b2f72a4209991 /modtest/main.cpp
parent534e94ffc35dae3a0b2cc9f1e60e7e452872c512 (diff)
downloadmeson-vsmodtest.zip
meson-vsmodtest.tar.gz
meson-vsmodtest.tar.bz2
Q&D experiment to scan and build C++ modules with VS.vsmodtest
Diffstat (limited to 'modtest/main.cpp')
-rw-r--r--modtest/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/modtest/main.cpp b/modtest/main.cpp
new file mode 100644
index 0000000..063d9bc
--- /dev/null
+++ b/modtest/main.cpp
@@ -0,0 +1,8 @@
+import M0;
+
+#include<cstdio>
+
+int main(int argc, char **argv) {
+ printf("Got number %d.\n", f0());
+ return 0;
+}