Bug 1846030 [wpt PR 41229] - CloseWatcher: factor out and expand Esc key tests, a...
[gecko.git] / tools / clang-tidy / test / modernize-use-bool-literals.cpp
blob58b7ec8f29a08ace43dd556d6333073a234d6848
1 void foo() {
2 bool p = 1;
3 bool f = static_cast<bool>(1);
4 bool x = p ? 1 : 0;