forked from OSchip/llvm-project
13 lines
678 B
C
13 lines
678 B
C
// RUN: %clang_cc1 %s --dependent-lib=msvcrt -triple thumbv7-windows -emit-llvm -o - | FileCheck %s
|
|
// RUN: %clang_cc1 %s --dependent-lib=msvcrt -triple i686-pc-win32 -emit-llvm -o - | FileCheck %s
|
|
// RUN: %clang_cc1 %s --dependent-lib=msvcrt -triple x86_64-pc-win32 -emit-llvm -o - | FileCheck %s
|
|
// RUN: %clang_cc1 %s --dependent-lib=msvcrt -triple i686-pc-linux -emit-llvm -o - | FileCheck -check-prefix LINUX %s --implicit-check-not llvm.linker.options
|
|
|
|
// CHECK: !llvm.linker.options = !{![[msvcrt:[0-9]+]]}
|
|
// CHECK: ![[msvcrt]] = !{!"/DEFAULTLIB:msvcrt.lib"}
|
|
|
|
// LINUX: !llvm.dependent-libraries = !{![[msvcrt:[0-9]+]]}
|
|
// LINUX: ![[msvcrt]] = !{!"msvcrt"}
|
|
|
|
int f(void);
|