summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/clang-analyzer-deadcode.DeadStores.cpp
blob: 4e1c2c851db0874370f2f64fdcbd36b143faccb2 (plain)
1
2
3
4
5
6
// clang-analyzer-deadcode.DeadStores
void test() {
  int x;
  x = 1; // warn
}