aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CPP/attributes.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CPP/attributes.ll')
-rw-r--r--test/CodeGen/CPP/attributes.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/CPP/attributes.ll b/test/CodeGen/CPP/attributes.ll
new file mode 100644
index 0000000..3dab617
--- /dev/null
+++ b/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
+}