diff --git a/regression-tests/test-results/apple-clang-14/clang-version.output b/regression-tests/test-results/apple-clang-14/clang-version.output new file mode 100644 index 0000000000..3e87af0077 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/clang-version.output @@ -0,0 +1,4 @@ +Apple clang version 14.0.0 (clang-1400.0.29.202) +Target: arm64-apple-darwin22.1.0 +Thread model: posix +InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin diff --git a/regression-tests/test-results/apple-clang-14/mixed-allcpp1-hello.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-allcpp1-hello.cpp.execution new file mode 100644 index 0000000000..802992c422 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-allcpp1-hello.cpp.execution @@ -0,0 +1 @@ +Hello world diff --git a/regression-tests/test-results/apple-clang-14/mixed-allcpp1-hello.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-allcpp1-hello.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-bounds-check.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-bounds-check.cpp.execution new file mode 100644 index 0000000000..1d8a586bb8 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-bounds-check.cpp.execution @@ -0,0 +1,2 @@ +Bounds safety violation: out of bounds access attempt detected +libc++abi: terminating diff --git a/regression-tests/test-results/apple-clang-14/mixed-bounds-check.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-bounds-check.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-bounds-safety-with-assert-2.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-bounds-safety-with-assert-2.cpp.execution new file mode 100644 index 0000000000..6330ca570f --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-bounds-safety-with-assert-2.cpp.execution @@ -0,0 +1,5 @@ +1 +44 +45 +46 +5 diff --git a/regression-tests/test-results/apple-clang-14/mixed-bounds-safety-with-assert-2.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-bounds-safety-with-assert-2.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-bounds-safety-with-assert.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-bounds-safety-with-assert.cpp.execution new file mode 100644 index 0000000000..d7f97dcbb2 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-bounds-safety-with-assert.cpp.execution @@ -0,0 +1,2 @@ +Bounds safety violation +libc++abi: terminating diff --git a/regression-tests/test-results/apple-clang-14/mixed-bounds-safety-with-assert.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-bounds-safety-with-assert.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-captures-in-expressions-and-postconditions.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-captures-in-expressions-and-postconditions.cpp.output new file mode 100644 index 0000000000..faf0027473 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-captures-in-expressions-and-postconditions.cpp.output @@ -0,0 +1,7 @@ +mixed-captures-in-expressions-and-postconditions.cpp2:12:18: error: no member named 'for_each' in namespace 'std::ranges' + std::ranges::for_each( vec, callback ); + ~~~~~~~~~~~~~^ +mixed-captures-in-expressions-and-postconditions.cpp2:14:18: error: no member named 'for_each' in namespace 'std::ranges' + std::ranges::for_each( std::move(vec), std::move(callback)); + ~~~~~~~~~~~~~^ +2 errors generated. diff --git a/regression-tests/test-results/apple-clang-14/mixed-forwarding.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-forwarding.cpp.execution new file mode 100644 index 0000000000..148ef9b60c --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-forwarding.cpp.execution @@ -0,0 +1,8 @@ ++X 1 ++X 2 +copy X 1 +move X 2 ++X 3 ++X 4 +move X 3 +move X 4 diff --git a/regression-tests/test-results/apple-clang-14/mixed-forwarding.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-forwarding.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-function-expression-and-std-for-each.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-function-expression-and-std-for-each.cpp.execution new file mode 100644 index 0000000000..728fbcc8fd --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-function-expression-and-std-for-each.cpp.execution @@ -0,0 +1,2 @@ +hello-ish maybe +2022-ish maybe diff --git a/regression-tests/test-results/apple-clang-14/mixed-function-expression-and-std-for-each.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-function-expression-and-std-for-each.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-function-expression-and-std-ranges-for-each-with-capture.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-function-expression-and-std-ranges-for-each-with-capture.cpp.output new file mode 100644 index 0000000000..f2279cfddb --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-function-expression-and-std-ranges-for-each-with-capture.cpp.output @@ -0,0 +1,7 @@ +mixed-function-expression-and-std-ranges-for-each-with-capture.cpp2:14:18: error: no member named 'for_each' in namespace 'std::ranges' + std::ranges::for_each + ~~~~~~~~~~~~~^ +mixed-function-expression-and-std-ranges-for-each-with-capture.cpp2:18:18: error: no member named 'for_each' in namespace 'std::ranges' + std::ranges::for_each( view, std::move(callback)); + ~~~~~~~~~~~~~^ +2 errors generated. diff --git a/regression-tests/test-results/apple-clang-14/mixed-function-expression-and-std-ranges-for-each.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-function-expression-and-std-ranges-for-each.cpp.output new file mode 100644 index 0000000000..4f177c1195 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-function-expression-and-std-ranges-for-each.cpp.output @@ -0,0 +1,7 @@ +mixed-function-expression-and-std-ranges-for-each.cpp2:13:18: error: no member named 'for_each' in namespace 'std::ranges' + std::ranges::for_each + ~~~~~~~~~~~~~^ +mixed-function-expression-and-std-ranges-for-each.cpp2:17:18: error: no member named 'for_each' in namespace 'std::ranges' + std::ranges::for_each( view, std::move(callback)); + ~~~~~~~~~~~~~^ +2 errors generated. diff --git a/regression-tests/test-results/apple-clang-14/mixed-function-expression-with-pointer-capture.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-function-expression-with-pointer-capture.cpp.output new file mode 100644 index 0000000000..7b97b575c4 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-function-expression-with-pointer-capture.cpp.output @@ -0,0 +1,7 @@ +mixed-function-expression-with-pointer-capture.cpp2:14:18: error: no member named 'for_each' in namespace 'std::ranges' + std::ranges::for_each( view, [_0 = (&y)](auto const& x){ + ~~~~~~~~~~~~~^ +mixed-function-expression-with-pointer-capture.cpp2:19:18: error: no member named 'for_each' in namespace 'std::ranges' + std::ranges::for_each( view, std::move(callback)); + ~~~~~~~~~~~~~^ +2 errors generated. diff --git a/regression-tests/test-results/apple-clang-14/mixed-function-expression-with-repeated-capture.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-function-expression-with-repeated-capture.cpp.output new file mode 100644 index 0000000000..e4b6b94a14 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-function-expression-with-repeated-capture.cpp.output @@ -0,0 +1,7 @@ +mixed-function-expression-with-repeated-capture.cpp2:14:18: error: no member named 'for_each' in namespace 'std::ranges' + std::ranges::for_each + ~~~~~~~~~~~~~^ +mixed-function-expression-with-repeated-capture.cpp2:18:18: error: no member named 'for_each' in namespace 'std::ranges' + std::ranges::for_each( view, std::move(callback)); + ~~~~~~~~~~~~~^ +2 errors generated. diff --git a/regression-tests/test-results/apple-clang-14/mixed-hello.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-hello.cpp.execution new file mode 100644 index 0000000000..c8848197e7 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-hello.cpp.execution @@ -0,0 +1 @@ +Hello [world] diff --git a/regression-tests/test-results/apple-clang-14/mixed-hello.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-hello.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-initialization-safety-3-contract-violation.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-initialization-safety-3-contract-violation.cpp.execution new file mode 100644 index 0000000000..3f8cc4842f --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-initialization-safety-3-contract-violation.cpp.execution @@ -0,0 +1,2 @@ +Contract violation: fill: value must contain at least count elements +libc++abi: terminating diff --git a/regression-tests/test-results/apple-clang-14/mixed-initialization-safety-3-contract-violation.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-initialization-safety-3-contract-violation.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-initialization-safety-3.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-initialization-safety-3.cpp.execution new file mode 100644 index 0000000000..b261dd86ca --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-initialization-safety-3.cpp.execution @@ -0,0 +1 @@ +>> [xyzzy] diff --git a/regression-tests/test-results/apple-clang-14/mixed-initialization-safety-3.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-initialization-safety-3.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-inspect-with-typeof-of-template-arg-list.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-inspect-with-typeof-of-template-arg-list.cpp.execution new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-inspect-with-typeof-of-template-arg-list.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-inspect-with-typeof-of-template-arg-list.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-intro-example-three-loops.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-intro-example-three-loops.cpp.execution new file mode 100644 index 0000000000..984a60a83a --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-intro-example-three-loops.cpp.execution @@ -0,0 +1,7 @@ +>> hello +>> big +>> world + ** ** ** +>> [hello] +>> [big] +>> [world] diff --git a/regression-tests/test-results/apple-clang-14/mixed-intro-example-three-loops.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-intro-example-three-loops.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-intro-for-with-counter-include-last.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-intro-for-with-counter-include-last.cpp.execution new file mode 100644 index 0000000000..05961867a6 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-intro-for-with-counter-include-last.cpp.execution @@ -0,0 +1,5 @@ +1 42 +2 84 +3 168 +4 336 +5 672 diff --git a/regression-tests/test-results/apple-clang-14/mixed-intro-for-with-counter-include-last.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-intro-for-with-counter-include-last.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-lifetime-safety-and-null-contracts.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-lifetime-safety-and-null-contracts.cpp.execution new file mode 100644 index 0000000000..f4dd62312e --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-lifetime-safety-and-null-contracts.cpp.execution @@ -0,0 +1 @@ +sending error to my framework... [dynamic null dereference attempt detected] diff --git a/regression-tests/test-results/apple-clang-14/mixed-lifetime-safety-and-null-contracts.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-lifetime-safety-and-null-contracts.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-lifetime-safety-pointer-init-4.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-lifetime-safety-pointer-init-4.cpp.execution new file mode 100644 index 0000000000..7ee4d37b20 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-lifetime-safety-pointer-init-4.cpp.execution @@ -0,0 +1 @@ +>> 42 diff --git a/regression-tests/test-results/apple-clang-14/mixed-lifetime-safety-pointer-init-4.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-lifetime-safety-pointer-init-4.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-multiple-return-values.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-multiple-return-values.cpp.execution new file mode 100644 index 0000000000..b3fc65a7ca --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-multiple-return-values.cpp.execution @@ -0,0 +1,2 @@ +a is 10 +b is xyzzy diff --git a/regression-tests/test-results/apple-clang-14/mixed-multiple-return-values.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-multiple-return-values.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-out-destruction.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-out-destruction.cpp.execution new file mode 100644 index 0000000000..df8e3e4ff2 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-out-destruction.cpp.execution @@ -0,0 +1,21 @@ +enter main +enter f00 +enter f01 ++X 1 +exit f01 +-X 1 +exit f00 + +enter f10 +enter f11 +enter f12 +enter f13 +enter f14 ++X 2 +exit f14 +exit f13 +exit f12 +-X 2 +exit f11 +exit f10 +exit main diff --git a/regression-tests/test-results/apple-clang-14/mixed-out-destruction.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-out-destruction.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-parameter-passing-with-forward.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-parameter-passing-with-forward.cpp.execution new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-parameter-passing-with-forward.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-parameter-passing-with-forward.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-parameter-passing.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-parameter-passing.cpp.execution new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-parameter-passing.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-parameter-passing.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-postexpression-with-capture.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-postexpression-with-capture.cpp.execution new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-postexpression-with-capture.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-postexpression-with-capture.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-postfix-expression-custom-formatting.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-postfix-expression-custom-formatting.cpp.execution new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-postfix-expression-custom-formatting.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-postfix-expression-custom-formatting.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-string-interpolation.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-string-interpolation.cpp.execution new file mode 100644 index 0000000000..eebb290a98 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-string-interpolation.cpp.execution @@ -0,0 +1,17 @@ +a = 2, b = (empty) +a^2 + b = 46 +sv = my string_view +osv = (empty) +osv = string literal bound to optional string_view +var = (empty) +var = abracadabra +var = 2.718280 +mypair = (12, 3.400000) +tup1 = (12) +tup2 = (12, 3.400000) +tup3 = (12, 3.400000, 456) +p = (first, (empty)) +t = (3.140000, (empty), (empty)) +vv = 0 +vv = (1, 2.300000) +custom = (customize me - no cpp2::to_string overload exists for this type) diff --git a/regression-tests/test-results/apple-clang-14/mixed-string-interpolation.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-string-interpolation.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-test-parens.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-test-parens.cpp.execution new file mode 100644 index 0000000000..3cacc0b93c --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-test-parens.cpp.execution @@ -0,0 +1 @@ +12 \ No newline at end of file diff --git a/regression-tests/test-results/apple-clang-14/mixed-test-parens.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-test-parens.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-type-safety-1.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-type-safety-1.cpp.execution new file mode 100644 index 0000000000..f1a0d084eb --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-type-safety-1.cpp.execution @@ -0,0 +1,6 @@ +1.1 is int? false +1 is int? true + +s* is Shape? true +s* is Circle? true +s* is Square? false diff --git a/regression-tests/test-results/apple-clang-14/mixed-type-safety-1.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-type-safety-1.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/mixed-ufcs-multiple-template-arguments.cpp.execution b/regression-tests/test-results/apple-clang-14/mixed-ufcs-multiple-template-arguments.cpp.execution new file mode 100644 index 0000000000..dec75369fb --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/mixed-ufcs-multiple-template-arguments.cpp.execution @@ -0,0 +1,2 @@ +rain +rain diff --git a/regression-tests/test-results/apple-clang-14/mixed-ufcs-multiple-template-arguments.cpp.output b/regression-tests/test-results/apple-clang-14/mixed-ufcs-multiple-template-arguments.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-bounds-safety-span.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-bounds-safety-span.cpp.execution new file mode 100644 index 0000000000..3a0304fa2f --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/pure2-bounds-safety-span.cpp.execution @@ -0,0 +1,3 @@ +>> decorated +>> hello +>> world diff --git a/regression-tests/test-results/apple-clang-14/pure2-bounds-safety-span.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-bounds-safety-span.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-bugfix-for-name-lookup-and-value-decoration.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-bugfix-for-name-lookup-and-value-decoration.cpp.execution new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-bugfix-for-name-lookup-and-value-decoration.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-bugfix-for-name-lookup-and-value-decoration.cpp.output new file mode 100644 index 0000000000..6da9319a8b --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/pure2-bugfix-for-name-lookup-and-value-decoration.cpp.output @@ -0,0 +1,4 @@ +pure2-bugfix-for-name-lookup-and-value-decoration.cpp2:8:18: warning: expression result unused [-Wunused-value] + std::move(v).i; + ~~~~~~~~~~~~ ^ +1 warning generated. diff --git a/regression-tests/test-results/apple-clang-14/pure2-hello.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-hello.cpp.execution new file mode 100644 index 0000000000..c8848197e7 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/pure2-hello.cpp.execution @@ -0,0 +1 @@ +Hello [world] diff --git a/regression-tests/test-results/apple-clang-14/pure2-hello.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-hello.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-inspect-expression-in-generic-function-multiple-types.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-inspect-expression-in-generic-function-multiple-types.cpp.execution new file mode 100644 index 0000000000..fd5a6cdffe --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/pure2-inspect-expression-in-generic-function-multiple-types.cpp.execution @@ -0,0 +1,8 @@ + double value is not an int or string + variant value is not an int or string + any value is "xyzzy" + optional value is not an int or string + int value is integer 42 + variant value is integer 1 + any value is integer 2 + optional value is integer 3 diff --git a/regression-tests/test-results/apple-clang-14/pure2-inspect-expression-in-generic-function-multiple-types.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-inspect-expression-in-generic-function-multiple-types.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-inspect-expression-with-as-in-generic-function.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-inspect-expression-with-as-in-generic-function.cpp.execution new file mode 100644 index 0000000000..3cd874b4e0 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/pure2-inspect-expression-with-as-in-generic-function.cpp.execution @@ -0,0 +1,3 @@ + syzygy value is not an int + 1 value is 1 + 1.100000 value is not an int diff --git a/regression-tests/test-results/apple-clang-14/pure2-inspect-expression-with-as-in-generic-function.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-inspect-expression-with-as-in-generic-function.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-inspect-fallback-with-variant-any-optional.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-inspect-fallback-with-variant-any-optional.cpp.execution new file mode 100644 index 0000000000..a5cbcefe9c --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/pure2-inspect-fallback-with-variant-any-optional.cpp.execution @@ -0,0 +1,11 @@ + +All these cases satisfy "matches std::string" + +variant + ... matches std::string + +string + ... matches std::string + +optional + ... matches std::string diff --git a/regression-tests/test-results/apple-clang-14/pure2-inspect-fallback-with-variant-any-optional.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-inspect-fallback-with-variant-any-optional.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-inspect-generic-void-empty-with-variant-any-optional.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-inspect-generic-void-empty-with-variant-any-optional.cpp.execution new file mode 100644 index 0000000000..a2df8769d5 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/pure2-inspect-generic-void-empty-with-variant-any-optional.cpp.execution @@ -0,0 +1,17 @@ + +All these cases satisfy "VOYDE AND EMPTIE" + +unique_ptr + ... VOYDE AND EMPTIE + +vector::iterator + ... VOYDE AND EMPTIE + +variant + ... VOYDE AND EMPTIE + +any + ... VOYDE AND EMPTIE + +optional + ... VOYDE AND EMPTIE diff --git a/regression-tests/test-results/apple-clang-14/pure2-inspect-generic-void-empty-with-variant-any-optional.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-inspect-generic-void-empty-with-variant-any-optional.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-interpolation.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-interpolation.cpp.execution new file mode 100644 index 0000000000..a41424dee4 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/pure2-interpolation.cpp.execution @@ -0,0 +1,10 @@ +g0g0g +0g0g +0g0 +00 +"0" +"0 +" + +pl(ug$h +0pl(ug$h diff --git a/regression-tests/test-results/apple-clang-14/pure2-interpolation.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-interpolation.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-intro-example-hello-2022.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-intro-example-hello-2022.cpp.execution new file mode 100644 index 0000000000..8e8c5ee29e --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/pure2-intro-example-hello-2022.cpp.execution @@ -0,0 +1,2 @@ +>> [hello] - length 7 +>> [2022] - length 6 diff --git a/regression-tests/test-results/apple-clang-14/pure2-intro-example-hello-2022.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-intro-example-hello-2022.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-intro-example-three-loops.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-intro-example-three-loops.cpp.execution new file mode 100644 index 0000000000..984a60a83a --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/pure2-intro-example-three-loops.cpp.execution @@ -0,0 +1,7 @@ +>> hello +>> big +>> world + ** ** ** +>> [hello] +>> [big] +>> [world] diff --git a/regression-tests/test-results/apple-clang-14/pure2-intro-example-three-loops.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-intro-example-three-loops.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-look-up-parameter-across-unnamed-function.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-look-up-parameter-across-unnamed-function.cpp.execution new file mode 100644 index 0000000000..871727de1f --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/pure2-look-up-parameter-across-unnamed-function.cpp.execution @@ -0,0 +1 @@ +84 diff --git a/regression-tests/test-results/apple-clang-14/pure2-look-up-parameter-across-unnamed-function.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-look-up-parameter-across-unnamed-function.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-stdio-with-raii.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-stdio-with-raii.cpp.execution new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-stdio-with-raii.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-stdio-with-raii.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-stdio.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-stdio.cpp.execution new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-stdio.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-stdio.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-type-safety-1.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-type-safety-1.cpp.execution new file mode 100644 index 0000000000..d1aa6265a7 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/pure2-type-safety-1.cpp.execution @@ -0,0 +1,9 @@ + double is int? false + variant is int? false + any is int? false + optional is int? false + + int is int? true + variant is int? true + any is int? true + optional is int? true diff --git a/regression-tests/test-results/apple-clang-14/pure2-type-safety-1.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-type-safety-1.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/pure2-type-safety-2-with-inspect-expression.cpp.execution b/regression-tests/test-results/apple-clang-14/pure2-type-safety-2-with-inspect-expression.cpp.execution new file mode 100644 index 0000000000..7045a6e793 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/pure2-type-safety-2-with-inspect-expression.cpp.execution @@ -0,0 +1,8 @@ + double value is not an int + variant value is not an int + any value is not an int + optional value is not an int + int value is 42 + variant value is 1 + any value is 2 + optional value is 3 diff --git a/regression-tests/test-results/apple-clang-14/pure2-type-safety-2-with-inspect-expression.cpp.output b/regression-tests/test-results/apple-clang-14/pure2-type-safety-2-with-inspect-expression.cpp.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/regression-tests/test-results/apple-clang-14/run-tests-apple-clang.sh b/regression-tests/test-results/apple-clang-14/run-tests-apple-clang.sh new file mode 100755 index 0000000000..e537fa472a --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/run-tests-apple-clang.sh @@ -0,0 +1,24 @@ +# This is intended to be run in the /test-results/apple-clang-14 subdirectory +# in a macOS shell with clang++ installed +# +cp ../*.cpp . +rm -f *.output *.execution +count=0 +exe_count=0 +clang++ --version > clang-version.output 2>&1 +for f in *.cpp +do + printf "Starting apple clang++ %s\n" "$f" + clang++ -I../../../include -std=c++20 -pthread -o test.exe $f > $f.output 2>&1 + rm -f $f + let count=count+1 + if test -f "test.exe"; then + let exe_count=exe_count+1 + printf " Starting executable\n" + ./test.exe > $f.execution 2>&1 + rm -f test.exe + fi +done +rm -f *.obj *.exp *.lib +printf "\nDone: %s .cpp tests compiled\n" "$count" +printf "\n %s .cpp executables generated and run\n" "$exe_count" diff --git a/regression-tests/test-results/apple-clang-14/xyzzy b/regression-tests/test-results/apple-clang-14/xyzzy new file mode 100644 index 0000000000..805bcb8538 --- /dev/null +++ b/regression-tests/test-results/apple-clang-14/xyzzy @@ -0,0 +1 @@ +Hello Fred with UFCS! \ No newline at end of file