xref: /aosp_15_r20/external/clang/test/CodeGen/linker-option.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 %s --linker-option=/include:foo -triple i686-pc-win32 -emit-llvm -o - | FileCheck %s
2 
3 // CHECK: !llvm.module.flags = !{{{.*}}}
4 // CHECK: !{{[0-9]+}} = !{i32 6, !"Linker Options", ![[link_opts:[0-9]+]]}
5 // CHECK: ![[link_opts]] = !{![[msvcrt:[0-9]+]]}
6 // CHECK: ![[msvcrt]] = !{!"/include:foo"}
7 
8 int f();
9