gecko-dev/tools/clang-tidy/test/bugprone-assert-side-effect...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 строки
139 B
C++
Исходник Обычный вид История

#include "structures.h"
// bugprone-assert-side-effect
void misc_assert_side_effect() {
int X = 0;
assert(X == 1);
assert(X = 1);
}