blob: df1063f6aa185c8aecf0fb49b5f17f00e8e6e8a5 [file] [log] [blame]
// Test that predefined feature test macros are present when -fchar8_t is
// enabled.
// { dg-do compile }
// { dg-options "-fchar8_t" }
#if !defined(__cpp_char8_t)
# error __cpp_char8_t is not defined!
#elif __cpp_char8_t != 201811
# error __cpp_char8_t != 201811
#endif