[analyzer] Use the new registration mechanism on the non-path-sensitive-checkers:
[clang.git] / test / CodeGen / 2010-02-16-DbgScopes.c
blobb11f920156e42bad89791bb9dbaad8d328a93b5b
1 // RUN: %clang_cc1 -emit-llvm -g < %s | grep lexical | count 5
2 // Test to check number of lexical scope identified in debug info.
4 extern int bar();
5 extern void foobar();
6 void foo(int s) {
7 unsigned loc = 0;
8 if (s) {
9 if (bar()) {
10 foobar();
12 } else {
13 loc = 1;
14 if (bar()) {
15 loc = 2;