brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.0 KiB · 2a8cf0f Raw
42 lines · cpp
1// RUN: not %clang -### -target i686-windows -fPIC %s 2>&1 | FileCheck -check-prefix CHECK-PIC-ERROR %s2// RUN: not %clang -### -target i686-windows -fpic %s 2>&1 | FileCheck -check-prefix CHECK-pic-ERROR %s3// RUN: not %clang -### -target i686-windows -fPIE %s 2>&1 | FileCheck -check-prefix CHECK-PIE-ERROR %s4// RUN: not %clang -### -target i686-windows -fpie %s 2>&1 | FileCheck -check-prefix CHECK-pie-ERROR %s5// RUN: %clang -### -target i686-windows -fPIC -fno-pic %s6// RUN: %clang -### -target i686-windows -Fpic -fno-pic %s7// RUN: %clang -### -target i686-windows -fPIE -fno-pie %s8// RUN: %clang -### -target i686-windows -fpie -fno-pie %s9 10// RUN: not %clang -### -target i686-windows-itanium -fPIC %s 2>&1 | FileCheck -check-prefix CHECK-PIC-ERROR %s11// RUN: not %clang -### -target i686-windows-itanium -fpic %s 2>&1 | FileCheck -check-prefix CHECK-pic-ERROR %s12// RUN: not %clang -### -target i686-windows-itanium -fPIE %s 2>&1 | FileCheck -check-prefix CHECK-PIE-ERROR %s13// RUN: not %clang -### -target i686-windows-itanium -fpie %s 2>&1 | FileCheck -check-prefix CHECK-pie-ERROR %s14// RUN: %clang -### -target i686-windows-itanium -fPIC -fno-pic %s15// RUN: %clang -### -target i686-windows-itanium -Fpic -fno-pic %s16// RUN: %clang -### -target i686-windows-itanium -fPIE -fno-pie %s17// RUN: %clang -### -target i686-windows-itanium -fpie -fno-pie %s18 19// RUN: not %clang -### -target x86_64-windows -fPIC %s 2>&1 | FileCheck -check-prefix CHECK-PIC-ERROR %s20// RUN: not %clang -### -target x86_64-windows -fpic %s 2>&1 | FileCheck -check-prefix CHECK-pic-ERROR %s21// RUN: not %clang -### -target x86_64-windows -fPIE %s 2>&1 | FileCheck -check-prefix CHECK-PIE-ERROR %s22// RUN: not %clang -### -target x86_64-windows -fpie %s 2>&1 | FileCheck -check-prefix CHECK-pie-ERROR %s23// RUN: %clang -### -target x86_64-windows -fPIC -fno-pic %s24// RUN: %clang -### -target x86_64-windows -Fpic -fno-pic %s25// RUN: %clang -### -target x86_64-windows -fPIE -fno-pie %s26// RUN: %clang -### -target x86_64-windows -fpie -fno-pie %s27 28// RUN: not %clang -### -target x86_64-windows-itanium -fPIC %s 2>&1 | FileCheck -check-prefix CHECK-PIC-ERROR %s29// RUN: not %clang -### -target x86_64-windows-itanium -fpic %s 2>&1 | FileCheck -check-prefix CHECK-pic-ERROR %s30// RUN: not %clang -### -target x86_64-windows-itanium -fPIE %s 2>&1 | FileCheck -check-prefix CHECK-PIE-ERROR %s31// RUN: not %clang -### -target x86_64-windows-itanium -fpie %s 2>&1 | FileCheck -check-prefix CHECK-pie-ERROR %s32// RUN: %clang -### -target x86_64-windows-itanium -fPIC -fno-pic %s33// RUN: %clang -### -target x86_64-windows-itanium -Fpic -fno-pic %s34// RUN: %clang -### -target x86_64-windows-itanium -fPIE -fno-pie %s35// RUN: %clang -### -target x86_64-windows-itanium -fpie -fno-pie %s36 37// CHECK-PIC-ERROR: unsupported option '-fPIC' for target '{{.*}}38// CHECK-pic-ERROR: unsupported option '-fpic' for target '{{.*}}39// CHECK-PIE-ERROR: unsupported option '-fPIE' for target '{{.*}}40// CHECK-pie-ERROR: unsupported option '-fpie' for target '{{.*}}41 42