hubert.reinterpretcast added inline comments.
================
Comment at: clang/test/SemaCXX/cxx2c-placeholder-vars.cpp:2
+// RUN: %clang -cc1 -fsyntax-only -verify -std=c++2c -Wunused-parameter
-Wunused %s
+
+void static_var() {
----------------
Can we have tests for:
```
struct { int _, _; } a = { ._ = 0 };
```
and
```
struct A {
A();
int _, _;
};
A::A() : _(0) {}
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153536/new/
https://reviews.llvm.org/D153536
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits