// { dg-options "-D_GLIBCXX_USE_DEPRECATED=0 -Wdeprecated" } // { dg-do preprocess { target c++11 } } // { dg-bogus "deprecated" "C++17 deprecated but not " } #include #ifndef __alignas_is_defined # error "The header fails to define a macro named __alignas_is_defined" #elif __alignas_is_defined != 1 # error "__alignas_is_defined is not defined to 1 in " #endif #ifndef __alignof_is_defined # error "The header fails to define a macro named __alignof_is_defined" #elif __alignof_is_defined != 1 # error "__alignof_is_defined is not defined to 1 in " #endif #ifdef alignas # error "The header defines a macro named alignas" #endif #ifdef alignof # error "The header defines a macro named alignof" #endif