exceptions.c 303 B

123456789
  1. // RUN: %clang_cc1 -fms-compatibility -fexceptions -fcxx-exceptions -DMS_MODE -verify %s
  2. // expected-no-diagnostics
  3. // RUN: %clang_cc1 -fms-compatibility -fexceptions -verify %s
  4. // expected-no-diagnostics
  5. #if defined(MS_MODE) && defined(__EXCEPTIONS)
  6. #error __EXCEPTIONS should not be defined.
  7. #endif