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(); |
7 |
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(); |
7 |