Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
template22.C
blob: c93375685253a386a9ca0f19ff4bbbad8fd0e941 [
file
] [
log
] [
blame
]
/* PR c++/29731. This used to ICE in uses_template_parms. */
template
<int>
struct
A
{};
A
<({})>
a
;
/* { dg-error "forbids braced-groups within expressions|statement-expressions|template argument 1 is invalid|invalid type" } */