[clang] [C2y] Claim conformance and add test coverage for WG14 N3346 (PR #115516)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 8 09:52:14 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `clang` at step 6 "Add check check-clang".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/10487

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (Add check check-clang) failure: test (failure)
******************** TEST 'Clang :: C/C2y/n3346.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -verify -std=c2y -Wall -pedantic -ffreestanding /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/C/C2y/n3346.c
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -verify -std=c2y -Wall -pedantic -ffreestanding /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/C/C2y/n3346.c
error: 'expected-error' diagnostics expected but not seen: 
  File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/C/C2y/n3346.c Line 52: array initializer must be an initializer list
error: 'expected-error' diagnostics seen but not expected: 
  File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/C/C2y/n3346.c Line 52: initializing wide char array with non-wide string literal
2 errors generated.

--

********************


```

</details>

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


More information about the cfe-commits mailing list