diff options
| author | carols <[email protected]> | 2024-04-07 21:10:39 +0800 |
|---|---|---|
| committer | carols <[email protected]> | 2024-04-07 21:14:13 +0800 |
| commit | 4044b796efabe9d22ab4208bebe484c18492bf06 (patch) | |
| tree | 1b49aa62d95436a8eb1505a7d4c69c3d170f647c /tests/projects/cppfront/console/src/main.cpp2 | |
| parent | 014639a6dc483e72a9184504f466b9a464dc9748 (diff) | |
Add Add cppfront's header(*.h2) support,use add_deps instead of on_buildcmd_file,
Diffstat (limited to 'tests/projects/cppfront/console/src/main.cpp2')
| -rw-r--r-- | tests/projects/cppfront/console/src/main.cpp2 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/projects/cppfront/console/src/main.cpp2 b/tests/projects/cppfront/console/src/main.cpp2 index 1ab54b94b..1c8bf1c0e 100644 --- a/tests/projects/cppfront/console/src/main.cpp2 +++ b/tests/projects/cppfront/console/src/main.cpp2 @@ -1,7 +1,5 @@ +#include "println.h2" main: () -> int = println("Hello world!\n"); -println: (msg: _) -> int = { - std::cout << msg; - return 0; -} + |
