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