diff options
| author | ruki <[email protected]> | 2018-12-25 00:52:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-12-24 23:13:27 +0800 |
| commit | 5420bfcb78df27235e76157136aa695473d07758 (patch) | |
| tree | 0ddaf6e18349e85b4e00c3d6bd8acf7eca5b2d84 /tests/projects/c++/precompiled_header/src/main.cpp | |
| parent | 42de73ec9745599c166fc97ada4faa28c5a45e55 (diff) | |
improve precompilied headerfile
Diffstat (limited to 'tests/projects/c++/precompiled_header/src/main.cpp')
| -rw-r--r-- | tests/projects/c++/precompiled_header/src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/projects/c++/precompiled_header/src/main.cpp b/tests/projects/c++/precompiled_header/src/main.cpp index f0408cdf8..27d41ee50 100644 --- a/tests/projects/c++/precompiled_header/src/main.cpp +++ b/tests/projects/c++/precompiled_header/src/main.cpp @@ -2,6 +2,7 @@ int main(int argc, char** argv) { - printf("hello xmake!\n"); + std::string s("xmake"); + printf("hello %s!\n", s.c_str()); return 0; } |
