summaryrefslogtreecommitdiffstats
path: root/clang/test/InterfaceStubs/ppc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/InterfaceStubs/ppc.cpp')
-rw-r--r--clang/test/InterfaceStubs/ppc.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/clang/test/InterfaceStubs/ppc.cpp b/clang/test/InterfaceStubs/ppc.cpp
new file mode 100644
index 00000000000..3155bbd825c
--- /dev/null
+++ b/clang/test/InterfaceStubs/ppc.cpp
@@ -0,0 +1,12 @@
+// RUN: %clang -x c++ -target powerpc64le-unknown-linux-gnu -o - %s \
+// RUN: -emit-interface-stubs -emit-merged-ifs -S | \
+// RUN: FileCheck -check-prefix=CHECK-IFS %s
+
+ // CHECK-IFS: --- !experimental-ifs-v1
+ // CHECK-IFS: IfsVersion: 1.0
+ // CHECK-IFS: Triple: powerpc64le
+ // CHECK-IFS: Symbols:
+ // CHECK-IFS: _Z8helloPPCv: { Type: Func }
+ // CHECK-IFS: ...
+
+int helloPPC();
OpenPOWER on IntegriCloud