https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120618
Ben Wu <soggysocks206 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |soggysocks206 at gmail dot com --- Comment #1 from Ben Wu <soggysocks206 at gmail dot com> --- Created attachment 62045 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62045&action=edit Adjusted and reduced testcase The parser seems to know that bool is not a type-constraint, but sometime when compiling the call foo(b) there is a check while mangling the invalid type-constraint which fails, so maybe there should be some kind of error mark in parser.cc? Currently there is only error_at.