[RISCV] Rename a lambda to have plural nouns to reflect that it contains a loop. NFC
[llvm-project.git] / clang / test / CodeGen / 2010-02-16-DbgScopes.c
blob8b962c6fcc367112ea6d29de5c8767fcddd0a0d5
1 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited < %s | FileCheck %s
2 // Test to check number of lexical scope identified in debug info.
3 // CHECK: !DILexicalBlock(
4 // CHECK: !DILexicalBlock(
5 // CHECK: !DILexicalBlock(
6 // CHECK: !DILexicalBlock(
8 extern int bar(void);
9 extern void foobar(void);
10 void foo(int s) {
11 unsigned loc = 0;
12 if (s) {
13 if (bar()) {
14 foobar();
16 } else {
17 loc = 1;
18 if (bar()) {
19 loc = 2;