Don't require 'bool' in a concept definition.
authorJason Merrill <jason@redhat.com>
Thu, 14 Mar 2019 19:53:04 +0000 (15:53 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 14 Mar 2019 19:53:04 +0000 (15:53 -0400)
commitf869f40780836d1744ec973e6d0e9d948947d509
treed60dee036a06260918e1b3fcefee76796f243d86
parentaa9cedb4edf6b09b1b4f15ba837e387d72c347e8
Don't require 'bool' in a concept definition.

* parser.c (cp_parser_decl_specifier_seq): Support C++20
concept-definition syntax without 'bool'.

From-SVN: r269692
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/concepts/no-bool1.C [new file with mode: 0644]