Duncan Sands | 330e25c | 2009-02-10 20:44:15 +0000 | [diff] [blame^] | 1 | // RUN: %llvmgcc %s -S -o - -O | grep i33 |
Chris Lattner | 2b9d5dd | 2008-01-08 05:16:29 +0000 | [diff] [blame] | 2 | // PR1721 |
3 | |||||
4 | struct s { | ||||
5 | unsigned long long u33: 33; | ||||
6 | } a, b; | ||||
7 | |||||
8 | // This should turn into a real 33-bit add, not a 64-bit add. | ||||
9 | _Bool test(void) { | ||||
10 | return a.u33 + b.u33 != 0; | ||||
11 | } |