Home | History | Annotate | Download | only in Driver
      1 // RUN: %clang -### %s 2>&1 | FileCheck %s -check-prefix=DEFAULT
      2 // DEFAULT: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions"
      3 //
      4 // RUN: %clang -### -fexceptions %s 2>&1 | FileCheck %s -check-prefix=ON1
      5 // ON1: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions"
      6 //
      7 // RUN: %clang -### -fno-exceptions -fcxx-exceptions %s 2>&1 | FileCheck %s -check-prefix=ON2
      8 // ON2: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions"
      9 //
     10 // RUN: %clang -### -fno-cxx-exceptions -fexceptions %s 2>&1 | FileCheck %s -check-prefix=ON3
     11 // ON3: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions"
     12 //
     13 // RUN: %clang -### -fno-exceptions %s 2>&1 | FileCheck %s -check-prefix=OFF1
     14 // OFF1-NOT: "-cc1" {{.*}} "-fcxx-exceptions"
     15 //
     16 // RUN: %clang -### -fno-cxx-exceptions %s 2>&1 | FileCheck %s -check-prefix=OFF2
     17 // OFF2-NOT: "-cc1" {{.*}} "-fcxx-exceptions"
     18 //
     19 // RUN: %clang -### -fcxx-exceptions -fno-exceptions %s 2>&1 | FileCheck %s -check-prefix=OFF3
     20 // OFF3-NOT: "-cc1" {{.*}} "-fcxx-exceptions"
     21 //
     22 // RUN: %clang -### -fexceptions -fno-cxx-exceptions %s 2>&1 | FileCheck %s -check-prefix=OFF4
     23 // OFF4-NOT: "-cc1" {{.*}} "-fcxx-exceptions"
     24