[PATCH] D38718: Patch to Bugzilla 20951
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 10 03:46:35 PDT 2017
lebedev.ri added inline comments.
================
Comment at: test/Sema/conditional-expr.c:84
+ //char x;
+ return (((x != ((void *) 0)) ? (*x = ((char) 1)) : (void) ((void *) 0)), (unsigned long) ((void *) 0)); // expected-warning {{C99 forbids conditional expressions with only one void side}}
}
----------------
Please don't just remove previous tests.
E.g. does the old test no longer warns?
https://reviews.llvm.org/D38718
More information about the cfe-commits
mailing list