[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 16:16:24 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` running on `premerge-linux-1` while building `clang` at step 7 "test-build-unified-tree-check-all".

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

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

```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: C/C2y/n3346.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 -internal-isystem /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/include -nostdsysteminc -verify -std=c2y -Wall -pedantic -ffreestanding /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/C/C2y/n3346.c
+ /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 -internal-isystem /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/include -nostdsysteminc -verify -std=c2y -Wall -pedantic -ffreestanding /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/C/C2y/n3346.c
error: 'expected-error' diagnostics expected but not seen: 
  File /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/C/C2y/n3346.c Line 52: array initializer must be an initializer list
error: 'expected-error' diagnostics seen but not expected: 
  File /build/buildbot/premerge-monolithic-linux/llvm-project/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