1// RUN: %clang_cc1 -analyze -analyzer-checker=core,deadcode.DeadStores,debug.Stats -verify -Wno-unreachable-code -analyzer-opt-analyze-nested-blocks %s
2
3int foo();
4
5int test() { // expected-warning-re{{test -> Total CFGBlocks: {{[0-9]+}} | Unreachable CFGBlocks: 0 | Exhausted Block: no | Empty WorkList: yes}}
6  int a = 1;
7  a = 34 / 12;
8
9  if (foo())
10    return a;
11
12  a /= 4;
13  return a;
14}
15