diff options
Diffstat (limited to 'clang/test/Frontend/exceptions.c')
| -rw-r--r-- | clang/test/Frontend/exceptions.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Frontend/exceptions.c b/clang/test/Frontend/exceptions.c new file mode 100644 index 00000000000..4bbaaa39bfa --- /dev/null +++ b/clang/test/Frontend/exceptions.c @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -fms-compatibility -fexceptions -fcxx-exceptions -verify %s +// expected-no-diagnostics + +#if defined(__EXCEPTIONS) +#error __EXCEPTIONS should not be defined. +#endif |

