1 // REQUIRES: x86-registered-target
4 // RUN: mkdir -p %t; cd %t
5 // RUN: %clang -target x86_64-unknown-linux-gnu -c -emit-interface-stubs %s -o %t/driver-test3.o
6 // RUN: llvm-nm %t/driver-test3.o | FileCheck --check-prefix=CHECK-OBJ %s
7 // RUN: cat %t/driver-test3.ifs | FileCheck --check-prefix=CHECK-IFS %s
11 // CHECK-IFS: --- !ifs-v1
12 // CHECK-IFS-NEXT: IfsVersion:
13 // CHECK-IFS-NEXT: Target:
14 // CHECK-IFS-NEXT: Symbols:
15 // CHECK-IFS-NEXT: - { Name: "bar", Type: Func }
16 // CHECK-IFS-NEXT: ...
18 int bar(int a
) { return a
; }