| 1 |
// RUN: %clang -target armv7-apple-ios -fexceptions -c %s -o /dev/null -### 2>&1 | FileCheck -check-prefix CHECK-IOS %s |
| 2 |
// RUN: %clang --target=i686-windows-gnu -fexceptions -c %s -o /dev/null -### 2>&1 | FileCheck --check-prefix=CHECK-MINGW-DEFAULT %s |
| 3 |
// RUN: %clang --target=i686-windows-gnu -fexceptions -fsjlj-exceptions -c %s -o /dev/null -### 2>&1 | FileCheck --check-prefix=CHECK-MINGW-SJLJ %s |
| 4 |
|
| 5 |
// CHECK-IOS: -exception-model=sjlj |
| 6 |
// CHECK-MINGW-DEFAULT-NOT: -exception-model=sjlj |
| 7 |
// CHECK-MINGW-SJLJ: -exception-model=sjlj |
| 8 |
|