diff options
Diffstat (limited to 'test/Driver/emulated-tls.cpp')
-rw-r--r-- | test/Driver/emulated-tls.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Driver/emulated-tls.cpp b/test/Driver/emulated-tls.cpp new file mode 100644 index 000000000000..a18c2e220bf8 --- /dev/null +++ b/test/Driver/emulated-tls.cpp @@ -0,0 +1,5 @@ +// Cygwin uses emutls. Clang should pass -femulated-tls to cc1 and cc1 should pass EmulatedTLS to LLVM CodeGen. +// FIXME: Add more targets here to use emutls. +// RUN: %clang -### -std=c++11 -target i686-pc-cygwin %s 2>&1 | FileCheck %s + +// CHECK: "-cc1" {{.*}}"-femulated-tls" |