OSDN Git Service

New test.
authorDevang Patel <dpatel@apple.com>
Mon, 21 Jan 2008 22:15:58 +0000 (22:15 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 21 Jan 2008 22:15:58 +0000 (22:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46220 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2008-01-21-PackedStructField.c [new file with mode: 0644]

diff --git a/test/CFrontend/2008-01-21-PackedStructField.c b/test/CFrontend/2008-01-21-PackedStructField.c
new file mode 100644 (file)
index 0000000..c87e65b
--- /dev/null
@@ -0,0 +1,5 @@
+// RUN: %llvmgcc %s -S -o -
+
+struct X { long double b; unsigned char c; double __attribute__((packed)) d; };
+struct X x = { 3.0L, 5, 3.0 };
+