c++: P0847R7 (deducing this) - xobj lambdas. [PR102609]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp2a / constinit6.C
blob73e78832844d984420e0d568cab1f13570247d58
1 // PR c++/91360 - Implement C++20 P1143R2: constinit
2 // { dg-do compile { target c++17_down } }
3 // { dg-options "-Wc++20-compat" }
5 int constinit; // { dg-warning "identifier .constinit. is a keyword" }