1 // REQUIRES: x86-registered-target
2 // RUN: %clang_cc1 -triple x86_64-windows-msvc -o - %s -emit-interface-stubs | FileCheck -check-prefix=CHECK-CC1 %s
3 // RUN: %clang -target x86_64-windows-msvc -o - %s -emit-interface-stubs -emit-merged-ifs -S | FileCheck -check-prefix=CHECK-IFS %s
4 // note: -S is added here to prevent clang from invoking link.exe
5 
6 // CHECK-CC1: Symbols:
7 // CHECK-CC1-NEXT: ?helloWindowsMsvc@@YAHXZ
8 
9 // CHECK-IFS: --- !experimental-ifs-v2
10 // CHECK-IFS: IfsVersion: 2.0
11 // CHECK-IFS: Triple:
12 // CHECK-IFS: Symbols:
13 // CHECK-IFS:   - { Name: '?helloWindowsMsvc@@YAHXZ', Type: Func }
14 // CHECK-IFS: ...
15 
16 int helloWindowsMsvc();
17