diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2012-02-24 23:53:49 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2012-02-24 23:53:49 +0000 |
| commit | cb3785e450ecf506d55dac3cca1abfee57b2c5d6 (patch) | |
| tree | 05d45f2d891ad57e83edbe559fc2eb7e42504a10 /clang/test/CodeGen/init.c | |
| parent | 8d01935c099a03837461808e0d772fa5ac681a10 (diff) | |
| download | bcm5719-llvm-cb3785e450ecf506d55dac3cca1abfee57b2c5d6.tar.gz bcm5719-llvm-cb3785e450ecf506d55dac3cca1abfee57b2c5d6.zip | |
Fix a stupid mistake in r151133. Reported to me by Joerg Sonnenberger.
llvm-svn: 151407
Diffstat (limited to 'clang/test/CodeGen/init.c')
| -rw-r--r-- | clang/test/CodeGen/init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGen/init.c b/clang/test/CodeGen/init.c index 599b4f23dbd..426233d8dfd 100644 --- a/clang/test/CodeGen/init.c +++ b/clang/test/CodeGen/init.c @@ -123,3 +123,10 @@ struct test12 { struct test12 (*p)(void); } test12g; + +void test13(int x) { + struct X { int a; int b : 10; int c; }; + struct X y = {.c = x}; + // CHECK: @test13 + // CHECK: and i32 {{.*}}, -1024 +} |

