[clang] [clang] Add tests for CWG issues about namespaces (PR #237113)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 30 04:11:54 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 58595 tests passed
* 553 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CXX/drs/cwg16xx.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -std=c++98 -triple x86_64-unknown-unknown C:\_work\llvm-project\llvm-project\clang\test\CXX\drs\cwg16xx.cpp -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected,cxx98-14,cxx98
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -std=c++98 -triple x86_64-unknown-unknown 'C:\_work\llvm-project\llvm-project\clang\test\CXX\drs\cwg16xx.cpp' -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected,cxx98-14,cxx98
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -std=c++11 -triple x86_64-unknown-unknown C:\_work\llvm-project\llvm-project\clang\test\CXX\drs\cwg16xx.cpp -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected,cxx11-20,cxx98-14,since-cxx11,cxx11
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -std=c++11 -triple x86_64-unknown-unknown 'C:\_work\llvm-project\llvm-project\clang\test\CXX\drs\cwg16xx.cpp' -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected,cxx11-20,cxx98-14,since-cxx11,cxx11
# .---command stderr------------
# | error: diagnostics with 'error' severity seen but not expected:
# | File C:\_work\llvm-project\llvm-project\clang\test\CXX\drs\cwg16xx.cpp Line 181: attributes on an enumerator declaration are a C++17 extension
# | File C:\_work\llvm-project\llvm-project\clang\test\CXX\drs\cwg16xx.cpp Line 185: attributes on an enumerator declaration are a C++17 extension
# | File C:\_work\llvm-project\llvm-project\clang\test\CXX\drs\cwg16xx.cpp Line 189: attributes on an enumerator declaration are a C++17 extension
# | File C:\_work\llvm-project\llvm-project\clang\test\CXX\drs\cwg16xx.cpp Line 193: attributes on a namespace declaration are a C++17 extension
# | File C:\_work\llvm-project\llvm-project\clang\test\CXX\drs\cwg16xx.cpp Line 195: attributes on a namespace declaration are a C++17 extension
# | File C:\_work\llvm-project\llvm-project\clang\test\CXX\drs\cwg16xx.cpp Line 200: attributes on a namespace declaration are a C++17 extension
# | File C:\_work\llvm-project\llvm-project\clang\test\CXX\drs\cwg16xx.cpp Line 203: attributes on a namespace declaration are a C++17 extension
# | 7 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/237113
More information about the cfe-commits
mailing list