* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / attributes-enum-1.C
blobad7d2374897d3a6108646f9eda978f9ba01de513
1 // { dg-options "-std=c++17" }
3 #ifndef __cpp_enumerator_attributes
4 #error __cpp_enumerator_attributes not defined
5 #endif
7 #if __cpp_enumerator_attributes != 201411
8 #error Wrong value for __cpp_enumerator_attributes
9 #endif