https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67178
Bug ID: 67178 Summary: [concepts] ICE on self-referencing concept Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: adrian.wielgosik at gmail dot com Target Milestone: --- Created attachment 36165 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36165&action=edit compiler output template <class B> concept bool SomeConcept = requires(SomeConcept val) { { val }; }; void function(SomeConcept) {} int main() { function(1); } Revision 226764. Attached compiler output.