1// Test that by default -fnoopenmp-use-tls is passed to frontend. 2// 3// RUN: %clang %s -### -o %t.o 2>&1 -fopenmp=libomp | FileCheck --check-prefix=CHECK-DEFAULT %s 4// CHECK-DEFAULT: -cc1 5// CHECK-DEFAULT-NOT: -fnoopenmp-use-tls 6// 7// RUN: %clang %s -### -o %t.o 2>&1 -fopenmp=libomp -fnoopenmp-use-tls | FileCheck --check-prefix=CHECK-NO-TLS %s 8// CHECK-NO-TLS: -cc1 9// CHECK-NO-TLS-SAME: -fnoopenmp-use-tls 10// 11