summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-07-13 02:05:57 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-07-13 02:05:57 +0000
commit609ada27cedb299d684a3879ddd9f6ea9e6df521 (patch)
tree355652542820219219146fd0de8e887487835f7c /clang/test
parentca2c56f20b1027bf4d103bfd936218c1eb5266d5 (diff)
downloadbcm5719-llvm-609ada27cedb299d684a3879ddd9f6ea9e6df521.tar.gz
bcm5719-llvm-609ada27cedb299d684a3879ddd9f6ea9e6df521.zip
Silliness with commas, as reported at http://blog.regehr.org/archives/558 . As it turns out, this is my fault for not noticing this was an issue when I was looking at this a long time ago. :(
llvm-svn: 135026
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Sema/bitfield.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Sema/bitfield.c b/clang/test/Sema/bitfield.c
index 49c1c7d4436..a1ce894037f 100644
--- a/clang/test/Sema/bitfield.c
+++ b/clang/test/Sema/bitfield.c
@@ -32,6 +32,7 @@ int y;
struct {unsigned x : 2;} x2;
__typeof__((x.x+=1)+1) y;
+__typeof__((0,x.x)+1) y;
__typeof__(x.x<<1) y;
int y;
OpenPOWER on IntegriCloud