summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/bitfield-promote.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/bitfield-promote.c')
-rw-r--r--clang/test/Sema/bitfield-promote.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Sema/bitfield-promote.c b/clang/test/Sema/bitfield-promote.c
index 4d14ad191e1..3189cd57e4f 100644
--- a/clang/test/Sema/bitfield-promote.c
+++ b/clang/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;
OpenPOWER on IntegriCloud