Douglas Katzman | 3459ce2 | 2015-10-08 04:24:12 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s |
Duncan P. N. Exon Smith | 9dd4e4e | 2015-04-29 16:40:08 +0000 | [diff] [blame] | 2 | // CHECK: !DILexicalBlock( |
3 | // CHECK: !DILexicalBlock( | ||||
Eric Christopher | 85e5156 | 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 | } |