Douglas Gregor | 6f4a69a | 2009-07-06 15:38:40 +0000 | [diff] [blame^] | 1 | // RUN: clang -fsyntax-only -Xclang -verify %s |
2 | struct {unsigned x : 2;} x; | ||||
3 | __typeof__((x.x+=1)+1) y; | ||||
4 | __typeof__(x.x<<1) y; | ||||
5 | int y; | ||||
6 | |||||
7 | |||||
8 | struct { int x : 8; } x1; | ||||
9 | long long y1; | ||||
10 | __typeof__(((long long)x1.x + 1)) y1; |