diff options
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; } |
