| Issue | 58200 |
|---|---|
| Summary | Clang accepts invalid narrowing conversion |
| Labels | new issue |
| Assignees | |
| Reporter | ranaanoop |
The following invalid program is accepted by x86-64 clang 13.0.1 with C++17. [Demo](https://godbolt.org/z/hso9rG7as).
```
void f() noexcept(5) //compiles with x86-64 clang 13.0.1 with C++17
{
}
```
_______________________________________________ llvm-bugs mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
