summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/CPP/attributes.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/CPP/attributes.ll')
-rw-r--r--llvm/test/CodeGen/CPP/attributes.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/CPP/attributes.ll b/llvm/test/CodeGen/CPP/attributes.ll
new file mode 100644
index 00000000000..3dab617d80b
--- /dev/null
+++ b/llvm/test/CodeGen/CPP/attributes.ll
@@ -0,0 +1,7 @@
+; RUN: llc < %s -march=cpp | FileCheck %s
+
+define void @f1(i8* byval, i8* inalloca) {
+; CHECK: ByVal
+; CHECK: InAlloca
+ ret void
+}
OpenPOWER on IntegriCloud