blob: b255d90b34c8aedd003315c2fd1e0d44d977c468 [file] [log] [blame]
Devang Patel424a5c62010-09-15 20:50:40 +00001// RUN: %clang -emit-llvm -S -g %s -o %t
2// RUN: grep DW_TAG_lexical_block %t | count 3
3
4// Radar 8396182
5// There are three lexical blocks in this test case.
6
7int foo() {
8 int i = 1;
9# 4 "m.c"
10# 1 "m.h" 1
11 int j = 2;
12# 2 "m.h"
13# 5 "m.c" 2
14 return i + j;
15}