c++: prev declared hidden tmpl friend inst [PR112288]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp2a / keywords2.C
blob8714a7b26b788cbde8db6f089f40b0b92bb442a6
1 // { dg-do compile { target c++17_down } }
2 // { dg-options "-Wc++20-compat" }
4 // Validate suppression of -Wc++20-compat diagnostics.
5 #pragma GCC diagnostic ignored "-Wc++20-compat"
6 int constinit;
7 int consteval;
8 int requires;
9 int concept;
10 int co_await;
11 int co_yield;
12 int co_return;
13 int char8_t;