| Issue |
166013
|
| Summary |
[clang] label diagnosed as unused when used with `break` and/or `continue` (C2Y named loop)
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
olemayu
|
https://godbolt.org/z/9bE1Yv4s9
```c
loop: // warning: unused label 'loop' [-Wunused-label]
while (true) {
Event event;
while (PollEvent(&event)) {
if (event.type == EVENT_QUIT) {
break loop;
}
}
}
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs