]> granicus.if.org Git - clang/blob - test/Driver/msvc-triple.c
clang-cl: make /Wall turn on both -Wall and -Wextra (PR25563)
[clang] / test / Driver / msvc-triple.c
1 // RUN: %clang -target i686-pc-windows-msvc   -S -emit-llvm %s -o - | FileCheck %s --check-prefix=DEFAULT
2 // RUN: %clang -target i686-pc-windows-msvc19 -S -emit-llvm %s -o - | FileCheck %s --check-prefix=TARGET-19
3 // RUN: %clang -target i686-pc-windows-msvc   -S -emit-llvm %s -o - -fms-compatibility-version=19 | FileCheck %s --check-prefix=OVERRIDE-19
4 // RUN: %clang -target i686-pc-windows-msvc-elf -S -emit-llvm %s -o - | FileCheck %s --check-prefix=ELF-DEFAULT
5
6 // DEFAULT:     target triple = "i686-pc-windows-msvc18.0.0"
7 // TARGET-19:   target triple = "i686-pc-windows-msvc19.0.0"
8 // OVERRIDE-19: target triple = "i686-pc-windows-msvc19.0.0"
9 // ELF-DEFAULT: target triple = "i686-pc-windows-msvc18.0.0-elf"