https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109506
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is an accept invalid testcase:
```
class a
{
a();
};
template <int>
struct foo {
//__attribute__((__always_inline__))
foo() {a b; };
};
template <int> class bar {
foo<2> alloc_{};
};
template <int>
void func1() {
bar<1>();
}
void func2() {
func1<2>();
}
```