xref: /aosp_15_r20/external/clang/test/Driver/msvc-triple.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // 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
3 // RUN: %clang -target i686-pc-windows-msvc-elf -S -emit-llvm %s -o - | FileCheck %s --check-prefix=ELF-DEFAULT
4 
5 // TARGET-19:   target triple = "i686-pc-windows-msvc19.0.0"
6 // OVERRIDE-19: target triple = "i686-pc-windows-msvc19.0.0"
7 // ELF-DEFAULT: target triple = "i686-pc-windows-msvc{{.*}}-elf"
8