From 990430ca785e293ee81ee39360581fda06de621b Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 29 Aug 2023 23:00:23 +0800 Subject: add cppfront test --- tests/projects/other/cppfront/src/main.cpp2 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/projects/other/cppfront/src/main.cpp2 (limited to 'tests/projects/other/cppfront/src') diff --git a/tests/projects/other/cppfront/src/main.cpp2 b/tests/projects/other/cppfront/src/main.cpp2 new file mode 100644 index 000000000..168a1773a --- /dev/null +++ b/tests/projects/other/cppfront/src/main.cpp2 @@ -0,0 +1,7 @@ +main: () -> int = + println("Hello world!\n"); + +println: (msg: _) -> int = { + std::cout << "msg: " << msg; + return 0; +} -- cgit v1.3.1