Debian Codegraph @

gcc/testsuite/g++.dg/ext/char8_t-type-specifier-1.C

raw
1 // Test that char8_t is not a type specifier if -fchar8_t is not enabled.
2 // { dg-do compile }
3 // { dg-options "-fno-char8_t" }
4
5 char8_t c8; /* { dg-error ".char8_t. does not name a type" "no-char8_t" } */