mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-16 12:36:08 +00:00

Patch by Ehsan Akhgari! (Test tweak by me.) Differential Revision: http://reviews.llvm.org/D4065 llvm-svn: 210582
7 lines
183 B
C
7 lines
183 B
C
// RUN: %clang_cc1 -fms-compatibility -fexceptions -fcxx-exceptions -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
#if defined(__EXCEPTIONS)
|
|
#error __EXCEPTIONS should not be defined.
|
|
#endif
|