From 263915832993dd12beee10e204f9ebcc6c786ed2 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 30 Dec 2023 23:39:37 +0100 Subject: Meta: initial commit of WestCo optimized toolchain. Signed-off-by: Amlal El Mahrouss --- .../cc2/regression-tests/mixed-allcpp1-hello.cpp2 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 CompilerDriver/cc2/regression-tests/mixed-allcpp1-hello.cpp2 (limited to 'CompilerDriver/cc2/regression-tests/mixed-allcpp1-hello.cpp2') diff --git a/CompilerDriver/cc2/regression-tests/mixed-allcpp1-hello.cpp2 b/CompilerDriver/cc2/regression-tests/mixed-allcpp1-hello.cpp2 new file mode 100644 index 0000000..d4aa9de --- /dev/null +++ b/CompilerDriver/cc2/regression-tests/mixed-allcpp1-hello.cpp2 @@ -0,0 +1,15 @@ + +// Step 1: rename .cpp to .cpp2 + +#include +#include + +#pragma auto_inline(on) + +// Here's a sample Syntax 1 "Hello world"... + +auto main() -> int +{ + auto s = std::string{"world\n"}; + std::cout << "Hello " << s; +} -- cgit v1.2.3