]> gcc.gnu.org Git - gcc.git/commitdiff
New test.
authorRichard Henderson <rth@gcc.gnu.org>
Mon, 25 Sep 2000 07:04:55 +0000 (00:04 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 25 Sep 2000 07:04:55 +0000 (00:04 -0700)
From-SVN: r36600

gcc/testsuite/gcc.c-torture/execute/packed-2.c [new file with mode: 0644]

diff --git a/gcc/testsuite/gcc.c-torture/execute/packed-2.c b/gcc/testsuite/gcc.c-torture/execute/packed-2.c
new file mode 100644 (file)
index 0000000..6c57900
--- /dev/null
@@ -0,0 +1,12 @@
+typedef struct s {
+       unsigned short a;
+       unsigned long b __attribute__ ((packed));
+} s;
+
+s t;
+
+int main()
+{
+        t.b = 0;
+       return 0;
+}
This page took 0.083236 seconds and 5 git commands to generate.