comment tweaks

This commit is contained in:
Jason Merrill 2022-11-03 15:59:38 -04:00
parent 7dbd1db4df
commit eaee89c99c
4 changed files with 1 additions and 7 deletions

View File

@ -12,9 +12,6 @@ struct Outer {
void fn(int m) [[ pre: m > 1 ]];
friend void Inner::fn(int n) [[ pre: n > 0 && bob > 1 ]]; // { dg-error "not declared" }
// FIXME: These functions are merged together with no diagnostic. We get an
// error about 'p' not being declared because the contracts haven't been
// unified or remapped.
friend void gfn(int p) [[ pre: p > 0 ]];
friend void gfn(int q) [[ pre: q > 1 ]]; // { dg-error "'q' was not declared" }

View File

@ -1,5 +1,4 @@
// generic error tests for generalized contract redecls
// FIXME: merge into contracts-redecl1
// { dg-do compile }
// { dg-options "-std=c++2a -fcontracts" }

View File

@ -23,8 +23,6 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
// FIXME string_view vs. freestanding
/** @file contract
* This is a Standard C++ Library header.
*/

View File

@ -1,4 +1,4 @@
## Makefile for the GNU C++ Filesystem library.
## Makefile for experimental additions to the GNU C++ Standard library.
##
## Copyright (C) 2014-2022 Free Software Foundation, Inc.
##