1 // RUN: %clang -### -c -DNO_THREADSAFE_STATICS %s 2>&1 | FileCheck --check-prefix=CHECK-NO-THREADSAFE-STATICS %s
2 // RUN: %clang -### -fno-threadsafe-statics -DNO_THREADSAFE_STATICS -c %s 2>&1 | FileCheck --check-prefix=CHECK-NO-THREADSAFE-STATICS %s
4 // CHECK-NO-THREADSAFE-STATICS: "-cc1"
5 // CHECK-NO-THREADSAFE-STATICS: "-fno-threadsafe-statics"
6 // CHECK-NO-THREADSAFE-STATICS-NOT: "-fthreadsafe-statics"
8 // RUN: %clang -### -fthreadsafe-statics -DTHREADSAFE_STATICS -c %s 2>&1 | FileCheck --check-prefix=CHECK-THREADSAFE-STATICS %s
10 // CHECK-THREADSAFE-STATICS: "-cc1"
11 // CHECK-THREADSAFE-STATICS-NOT: "-fno-threadsafe-statics"