aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/x86_32-arguments.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/x86_32-arguments.c')
-rw-r--r--test/CodeGen/x86_32-arguments.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/CodeGen/x86_32-arguments.c b/test/CodeGen/x86_32-arguments.c
index 632949e763..9334895186 100644
--- a/test/CodeGen/x86_32-arguments.c
+++ b/test/CodeGen/x86_32-arguments.c
@@ -15,8 +15,6 @@
// tests. This should be the same as @f8_2.
// RUN: grep 'define void @f9_2(%.truct.s9\* byval %a0)' %t &&
-// RUN: true
-
char f0(void) {
}
@@ -65,3 +63,13 @@ struct s9 f9_1(void) {
void f9_2(struct s9 a0) {
}
+// Return of small structures and unions...
+
+// RUN: grep 'float @f10()' %t &&
+struct s10 {
+ union { };
+ float f;
+} f10(void) {}
+
+// RUN: true
+