================
@@ -0,0 +1,17 @@
+// REQUIRES: icu || iconv
+// RUN: %clang_cc1 -triple s390x-none-zos -fexec-charset Shift_JIS %s
-std=c++23 -fsyntax-only -verify
+
+struct string_view {
+ const char *D;
+ int S;
+ constexpr string_view(int Size, const char *Str) : D(Str), S(Size) {}
----------------
abhina-sree wrote:
I saw in other testcases like clang/test/SemaCXX/static-assert-cxx26.cpp, the
order is consistently flipped too and I was keeping it consistent with those.
Should there be a separate PR to make the ordering consistent for all the
testcases?
`constexpr string_view(int Size, const char* Str) : S(Size), D(Str) {}`
https://github.com/llvm/llvm-project/pull/169803
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits