[PATCH] D153857: [clang] Fix new-expression with elaborated-type-specifier
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 27 14:04:12 PDT 2023
shafik added a comment.
What about
template <typename T>
struct A { };
void foo() {
new struct A<int> {};
}
I think this should be allowed, right?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153857/new/
https://reviews.llvm.org/D153857
More information about the cfe-commits
mailing list