Open mld2443 opened 3 hours ago
The AST node is:
`-DeclRefExpr 0x7e0f6b8bcfd0 'const int[]' lvalue Var 0x7e0f6b8bca28 'VALUEARRAY' 'const int[5]' non_odr_use_constant
`-NestedNameSpecifier TypeSpec 'C<0, 1, 2, 3, 4>':'struct C<0, 1, 2, 3, 4>'
But the type of the expression is an IncompleteArrayType
.
@llvm/issue-subscribers-clang-frontend
Author: Matt (mld2443)
https://compiler-explorer.com/z/33Yhbxdoc
clang needs the hint of
sizeof...(VALUES)
to build correctly