1 // REQUIRES: clang-driver, x86-registered-target
2 
3 // RUN: %clang -### -target x86_64-unknown-linux %s 2>&1 | FileCheck %s -check-prefix=TLSDIRECT
4 // RUN: %clang -### -target x86_64-unknown-linux -mno-tls-direct-seg-refs -mtls-direct-seg-refs %s 2>&1 | FileCheck %s -check-prefix=TLSDIRECT
5 // RUN: %clang -### -target x86_64-unknown-linux -mtls-direct-seg-refs -mno-tls-direct-seg-refs %s 2>&1 | FileCheck %s -check-prefix=NO-TLSDIRECT
6 
7 // NO-TLSDIRECT: -mno-tls-direct-seg-refs
8 // TLSDIRECT-NOT: -mno-tls-direct-seg-refs
9