gcc/testsuite/g++.dg/ext/has-feature2.C
raw| 1 | // { dg-do compile } |
| 2 | // { dg-options "" } |
| 3 | |
| 4 | // PR c++/113658: we shouldn't declare support for |
| 5 | // cxx_constexpr_string_builtins as GCC is missing some of the builtins |
| 6 | // that clang implements. |
| 7 | |
| 8 | #if __has_feature (cxx_constexpr_string_builtins) |
| 9 | #error |
| 10 | #endif |
| 11 | |
| 12 | #if __has_extension (cxx_constexpr_string_builtins) |
| 13 | #error |
| 14 | #endif |