Issue 125225
Summary clang accepts invalid code that with trailing comma
Labels clang:frontend
Assignees hokein
Reporter hokein
    Clang doesn't diagnose the following invalid code (with the trailing comma), it treats as valid code:

 
```
void func(int);
void k() {
  func(1, );
}
```

This is a regression caused by https://github.com/llvm/llvm-project/pull/114684.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to