brintos

brintos / llvm-project-archived public Read only

0
0
Text · 629 B · 5535b9b Raw
17 lines · cpp
1// REQUIRES: x86-registered-target2// RUN: %clang_cc1 -triple x86_64-windows-msvc -o - %s -emit-interface-stubs | FileCheck -check-prefix=CHECK-CC1 %s3// RUN: %clang -target x86_64-windows-msvc -o - %s -emit-interface-stubs -emit-merged-ifs -S | FileCheck -check-prefix=CHECK-IFS %s4// note: -S is added here to prevent clang from invoking link.exe5 6// CHECK-CC1: Symbols:7// CHECK-CC1-NEXT: ?helloWindowsMsvc@@YAHXZ8 9// CHECK-IFS: --- !ifs-v110// CHECK-IFS: IfsVersion: 3.011// CHECK-IFS: Target:12// CHECK-IFS: Symbols:13// CHECK-IFS:   - { Name: '?helloWindowsMsvc@@YAHXZ', Type: Func }14// CHECK-IFS: ...15 16int helloWindowsMsvc();17