You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
212 B
13 lines
212 B
4 months ago
|
// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
|
||
|
// CHECK: !DILexicalBlock(
|
||
|
// CHECK: !DILexicalBlock(
|
||
|
int foo(int i) {
|
||
|
if (i) {
|
||
|
int j = 2;
|
||
|
}
|
||
|
else {
|
||
|
int j = 3;
|
||
|
}
|
||
|
return i;
|
||
|
}
|