aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/keywords2.C
blob: 8714a7b26b788cbde8db6f089f40b0b92bb442a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do compile { target c++17_down } }
// { dg-options "-Wc++20-compat" }

// Validate suppression of -Wc++20-compat diagnostics.
#pragma GCC diagnostic ignored "-Wc++20-compat"
int constinit;
int consteval;
int requires;
int concept;
int co_await;
int co_yield;
int co_return;
int char8_t;