summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/casts.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/casts.c')
-rw-r--r--clang/test/Analysis/casts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/casts.c b/clang/test/Analysis/casts.c
index cd57a63bc23..f78ea698948 100644
--- a/clang/test/Analysis/casts.c
+++ b/clang/test/Analysis/casts.c
@@ -28,7 +28,7 @@ void f1(struct s **pval) {
tbool = (int *)pval; // Should record the cast-to type here.
char c = (unsigned char) *tbool; // Should use cast-to type to create symbol.
if (*tbool == -1)
- 3;
+ (void)3;
}
void f2(const char *str) {
OpenPOWER on IntegriCloud