Bug 1432410 - Add tests in tree to make sure we don't regress with clang-tidy on static-analisys. Tests wrote in part by :sylvestre. r=gps

MozReview-Commit-ID: IWxzKfWNIHG
This commit is contained in:
Andi-Bogdan Postelnicu
2018-05-03 20:06:16 +03:00
parent 9f30d4873d
commit b894639e88
91 changed files with 764 additions and 89 deletions

View File

@@ -0,0 +1,9 @@
#include "structures.h"
// misc-assert-side-effect
void misc_assert_side_effect() {
int X = 0;
assert(X == 1);
assert(X = 1);
}