[libcxx-commits] [libcxx] [libc++][format] Fixes formatting code units as integers. (PR #73396)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 27 11:53:08 PST 2023


================
@@ -0,0 +1,131 @@
+//===----------------------------------------------------------------------===//
----------------
ldionne wrote:

Are those two tests exactly the same except the compiler flags? If so, let's turn this into a `.sh.pass.cpp` and then do:

```
// RUN: %{build} -fsigned-char
// RUN: %{run}

// RUN: %{build} -funsigned-char
// RUN: %{run}
```

And while we're at it we should probably also do

```
// RUN: %{build}
// RUN: %{run}
```

Then we can have a single test file.

https://github.com/llvm/llvm-project/pull/73396


More information about the libcxx-commits mailing list