aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
authorJosh Triplett <josh@freedesktop.org>2007-02-21 14:05:42 -0800
committerJosh Triplett <josh@freedesktop.org>2007-02-21 14:05:52 -0800
commita0a4f0a241b5fc69e447129530c91c0cefb27487 (patch)
tree8cb319a790000c5be6546340c460f791e4a8e52f /validation
parent1db467c6263823a4301d181a10ed9cd7700fd11c (diff)
downloadsparse-dev-a0a4f0a241b5fc69e447129530c91c0cefb27487.tar.gz
Add test case for structure attribute placement.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'validation')
-rw-r--r--validation/struct-attribute-placement.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/validation/struct-attribute-placement.c b/validation/struct-attribute-placement.c
new file mode 100644
index 00000000..e7383038
--- /dev/null
+++ b/validation/struct-attribute-placement.c
@@ -0,0 +1,3 @@
+struct __attribute__((__aligned__(16))) foo {
+ int a;
+};