aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/has-feature2.C
blob: 5f62916badf835c167c96d5f08cc93fd450b5baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do compile }
// { dg-options "" }

// PR c++/113658: we shouldn't declare support for
// cxx_constexpr_string_builtins as GCC is missing some of the builtins
// that clang implements.

#if __has_feature (cxx_constexpr_string_builtins)
#error
#endif

#if __has_extension (cxx_constexpr_string_builtins)
#error
#endif