blob: 42bd02a158ea8072c7c654ac3e433bea409711d1 [file] [log] [blame]
David Majnemere11d3732015-06-08 00:22:46 +00001// RUN: %clang -target i686-pc-windows-msvc19 -S -emit-llvm %s -o - | FileCheck %s --check-prefix=TARGET-19
2// RUN: %clang -target i686-pc-windows-msvc -S -emit-llvm %s -o - -fms-compatibility-version=19 | FileCheck %s --check-prefix=OVERRIDE-19
David Majnemer75fdd6b2015-06-09 06:30:01 +00003// RUN: %clang -target i686-pc-windows-msvc-elf -S -emit-llvm %s -o - | FileCheck %s --check-prefix=ELF-DEFAULT
David L. Jones62cd8682016-12-07 23:39:44 +00004// RUN: %clang -target i686-pc-windows-msvc -S -emit-llvm %s -o - | FileCheck %s --check-prefix=DEFAULT
David Majnemere11d3732015-06-08 00:22:46 +00005
David Majnemere11d3732015-06-08 00:22:46 +00006// TARGET-19: target triple = "i686-pc-windows-msvc19.0.0"
7// OVERRIDE-19: target triple = "i686-pc-windows-msvc19.0.0"
Adrian McCarthye4b26fc2016-05-13 23:20:11 +00008// ELF-DEFAULT: target triple = "i686-pc-windows-msvc{{.*}}-elf"
David L. Jones62cd8682016-12-07 23:39:44 +00009// DEFAULT: target triple = "i686-pc-windows-msvc{{[^-]+}}"