Rafael Espindola | a3f55b0 | 2013-09-04 04:12:25 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s |
David Blaikie | 75c12bf | 2013-01-24 22:47:48 +0000 | [diff] [blame] | 2 | // CHECK: DW_TAG_lexical_block |
3 | // CHECK: DW_TAG_lexical_block | ||||
Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 4 | int foo(int i) { |
5 | if (i) { | ||||
6 | int j = 2; | ||||
7 | } | ||||
8 | else { | ||||
9 | int j = 3; | ||||
10 | } | ||||
11 | return i; | ||||
12 | } |