mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 22:50:47 +00:00
Test case distilled from sed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8224 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cec2eb2591
commit
879678338f
14
test/CFrontend/2003-08-29-BitFieldStruct.c
Normal file
14
test/CFrontend/2003-08-29-BitFieldStruct.c
Normal file
@ -0,0 +1,14 @@
|
||||
typedef enum { FALSE, TRUE } flagT;
|
||||
|
||||
struct Word
|
||||
{
|
||||
short bar;
|
||||
short baz;
|
||||
flagT final:1;
|
||||
short quux;
|
||||
} *word_limit;
|
||||
|
||||
void foo ()
|
||||
{
|
||||
word_limit->final = (word_limit->final && word_limit->final);
|
||||
}
|
Loading…
Reference in New Issue
Block a user