diff options
| author | ruki <[email protected]> | 2022-11-03 22:52:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-11-03 13:06:03 +0800 |
| commit | f2ea9f6021fcb21ad0f8fc42d3bc78a3ae7d2283 (patch) | |
| tree | 753bf9e75b590e4e66a02496051b11f3d046add9 /tests/projects/c++/modules/stdmodules/test/test.cpp | |
| parent | f95014b8e8c6e32471cf8bfa97988519dac25950 (diff) | |
improve clang to support std modules
Diffstat (limited to 'tests/projects/c++/modules/stdmodules/test/test.cpp')
| -rw-r--r-- | tests/projects/c++/modules/stdmodules/test/test.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/stdmodules/test/test.cpp b/tests/projects/c++/modules/stdmodules/test/test.cpp new file mode 100644 index 000000000..c23ef7efa --- /dev/null +++ b/tests/projects/c++/modules/stdmodules/test/test.cpp @@ -0,0 +1,10 @@ +// Copyright 2022 Ângelo Andrade Cirino + +#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN +#include <doctest/doctest.h> + +import std; + +import my_module; + +TEST_CASE("Test sum") { CHECK(my_sum(1, 1) == 2); } |
