summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/unused-expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/unused-expr.c')
-rw-r--r--clang/test/Sema/unused-expr.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/Sema/unused-expr.c b/clang/test/Sema/unused-expr.c
index 9c231e960a2..a5e5ec4e149 100644
--- a/clang/test/Sema/unused-expr.c
+++ b/clang/test/Sema/unused-expr.c
@@ -43,4 +43,11 @@ void nowarn(unsigned char* a, unsigned char* b)
{
unsigned char c = 1;
*a |= c, *b += c;
+
+
+ // PR4633
+ int y, x;
+ ((void)0), y = x;
}
+
+
OpenPOWER on IntegriCloud