shafik added a comment. The following also generates an `ImplicitValueInitExpr`:
template <typename T, unsigned N>
struct B {
T a[N];
};
int main() {
constexpr B<int,10> arr = {};
constexpr int x = arr.a[0];
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135013/new/
https://reviews.llvm.org/D135013
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
