summaryrefslogtreecommitdiff
path: root/test/Sema/bitfield-promote.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/bitfield-promote.c')
-rw-r--r--test/Sema/bitfield-promote.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Sema/bitfield-promote.c b/test/Sema/bitfield-promote.c
index 4d14ad191e..3189cd57e4 100644
--- a/test/Sema/bitfield-promote.c
+++ b/test/Sema/bitfield-promote.c
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
struct {unsigned x : 2;} x;
__typeof__((x.x+=1)+1) y;
__typeof__(x.x<<1) y;