2014-10-28 04:02:19 +08:00
|
|
|
// RUN: %clang_cc1 -fms-compatibility -fexceptions -fcxx-exceptions -DMS_MODE -verify %s
|
2014-06-11 04:46:38 +08:00
|
|
|
// expected-no-diagnostics
|
|
|
|
|
2014-10-28 04:02:19 +08:00
|
|
|
// RUN: %clang_cc1 -fms-compatibility -fexceptions -verify %s
|
|
|
|
// expected-no-diagnostics
|
|
|
|
|
|
|
|
#if defined(MS_MODE) && defined(__EXCEPTIONS)
|
2014-06-11 04:46:38 +08:00
|
|
|
#error __EXCEPTIONS should not be defined.
|
|
|
|
#endif
|