xref: /aosp_15_r20/external/clang/test/Driver/fsjlj-exceptions.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
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: -fsjlj-exceptions
6 // CHECK-MINGW-DEFAULT-NOT: -fsjlj-exceptions
7 // CHECK-MINGW-SJLJ: -fsjlj-exceptions
8 
9