aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2007-11-07-CopyAggregateAlign.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC/2007-11-07-CopyAggregateAlign.c')
-rw-r--r--test/FrontendC/2007-11-07-CopyAggregateAlign.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/FrontendC/2007-11-07-CopyAggregateAlign.c b/test/FrontendC/2007-11-07-CopyAggregateAlign.c
new file mode 100644
index 0000000..8bd94b0
--- /dev/null
+++ b/test/FrontendC/2007-11-07-CopyAggregateAlign.c
@@ -0,0 +1,3 @@
+// RUN: %llvmgcc -S %s -o - | grep "align 2" | count 6
+struct A { char s, t, u, v; short a; };
+void q() { struct A a, b; a = b; }