From 5768c9658e719d8505f4adcc9c5e689052b22495 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 21 Jan 2008 22:15:58 +0000 Subject: [PATCH] New test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46220 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2008-01-21-PackedStructField.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/CFrontend/2008-01-21-PackedStructField.c diff --git a/test/CFrontend/2008-01-21-PackedStructField.c b/test/CFrontend/2008-01-21-PackedStructField.c new file mode 100644 index 00000000000..c87e65b38b8 --- /dev/null +++ b/test/CFrontend/2008-01-21-PackedStructField.c @@ -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 }; +