[clang] [clang] Implement P3176R1: The Oxford variadic comma (PR #117524)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 25 03:58:19 PST 2024
================
@@ -0,0 +1,36 @@
+// RUN: %clang_cc1 -std=c++2c -fsyntax-only -verify %s
+
+void a(...);
----------------
Sirraide wrote:
A few more test cases that came to mind:
```c++
struct S {
void g(this S...) {}
};
template <typename ...Ts>
void f(Ts......) {}
template <typename T>
void g(T...) {}
```
https://github.com/llvm/llvm-project/pull/117524
More information about the cfe-commits
mailing list