mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-14 08:31:28 -04:00
10 lines
303 B
C
10 lines
303 B
C
// RUN: %clang_cc1 -fms-compatibility -fexceptions -fcxx-exceptions -DMS_MODE -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
// RUN: %clang_cc1 -fms-compatibility -fexceptions -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
#if defined(MS_MODE) && defined(__EXCEPTIONS)
|
|
#error __EXCEPTIONS should not be defined.
|
|
#endif
|