| Issue |
182154
|
| Summary |
Clang crash on global-scope statement with ellipsis ('...')
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
apbenson00
|
- crash on invalid input
- bug found from fuzzing
## Minimized Code
```
g(h(x)...)
```
## Full Example Code
```
int g(int);
int h(int);
int x = 0;
g(h(x)...); // crash
```
Note:
- Crash only found in clang, not present in clang++
- If the same statement is moved inside a function (ex. main()), or assigned to a variable, the crash does not occur.
## CompilerExplorer
https://godbolt.org/z/j7q9Pcfh1
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs