7 lines · c
1// RUN: %clang_cc1 %s --linker-option=/include:foo -triple i686-pc-win32 -emit-llvm -o - | FileCheck %s2 3// CHECK: !llvm.linker.options = !{![[msvcrt:[0-9]+]]}4// CHECK: ![[msvcrt]] = !{!"/include:foo"}5 6int f(void);7 1// RUN: %clang_cc1 %s --linker-option=/include:foo -triple i686-pc-win32 -emit-llvm -o - | FileCheck %s2 3// CHECK: !llvm.linker.options = !{![[msvcrt:[0-9]+]]}4// CHECK: ![[msvcrt]] = !{!"/include:foo"}5 6int f(void);7