Home | History | Annotate | Download | only in Driver
      1 // RUN: %clang %s -meabi 4 -### 2>&1 \
      2 // RUN:   | FileCheck -check-prefix=CHECK-EABI4 %s
      3 // RUN: %clang %s -meabi 5 -### 2>&1 \
      4 // RUN:   | FileCheck -check-prefix=CHECK-EABI5 %s
      5 // RUN: %clang %s -meabi gnu -### 2>&1 \
      6 // RUN:   | FileCheck -check-prefix=CHECK-GNUEABI %s
      7 // RUN: not %clang %s -meabi unknown 2>&1 \
      8 // RUN:   | FileCheck -check-prefix=CHECK-UNKNOWN %s
      9 
     10 // CHECK-EABI4: "-meabi" "4"
     11 // CHECK-EABI5: "-meabi" "5"
     12 // CHECK-GNUEABI: "-meabi" "gnu"
     13 // CHECK-UNKNOWN: error: invalid value 'unknown' in '-meabi unknown'
     14