diff options
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers/setjmp_h.pass.cpp')
| -rw-r--r-- | libcxx/test/std/depr/depr.c.headers/setjmp_h.pass.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/std/depr/depr.c.headers/setjmp_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/setjmp_h.pass.cpp index 36f42539069..9bc35b74749 100644 --- a/libcxx/test/std/depr/depr.c.headers/setjmp_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/setjmp_h.pass.cpp @@ -12,6 +12,10 @@ #include <setjmp.h> #include <type_traits> +#ifndef setjmp +#error setjmp not defined +#endif + int main() { jmp_buf jb; |

