aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SRETPromotion/2008-03-11-attributes.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/SRETPromotion/2008-03-11-attributes.ll')
-rw-r--r--test/Transforms/SRETPromotion/2008-03-11-attributes.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/SRETPromotion/2008-03-11-attributes.ll b/test/Transforms/SRETPromotion/2008-03-11-attributes.ll
new file mode 100644
index 0000000..55abec5
--- /dev/null
+++ b/test/Transforms/SRETPromotion/2008-03-11-attributes.ll
@@ -0,0 +1,7 @@
+; RUN: opt < %s -sretpromotion -disable-output
+ %struct.ObjPoint = type { double, double, double, double, double, double }
+
+define void @RotatePoint(%struct.ObjPoint* sret %agg.result, %struct.ObjPoint* byval %a, double %rx, double %ry, double %rz) nounwind {
+entry:
+ unreachable
+}