diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-29 22:46:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-29 22:46:34 +0000 |
commit | 2fdd3c071460764da20ba77dd85db53c3337cde3 (patch) | |
tree | 5f36115889fe278188339053467e5779d78f8ee3 /test/CFrontend | |
parent | 450e4f51f4e5bc2a34f6788bc3cbbcee5139a1f4 (diff) | |
download | llvm-2fdd3c071460764da20ba77dd85db53c3337cde3.tar.gz llvm-2fdd3c071460764da20ba77dd85db53c3337cde3.tar.bz2 llvm-2fdd3c071460764da20ba77dd85db53c3337cde3.tar.xz |
Yet another bit-field bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r-- | test/CFrontend/2003-08-29-StructLayoutBug.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CFrontend/2003-08-29-StructLayoutBug.c b/test/CFrontend/2003-08-29-StructLayoutBug.c new file mode 100644 index 0000000000..7572d2737c --- /dev/null +++ b/test/CFrontend/2003-08-29-StructLayoutBug.c @@ -0,0 +1,8 @@ +struct foo { + unsigned int I:1; + unsigned char J[1]; + unsigned int K:1; + }; + +void test(struct foo *X) {} + |