Home | History | Annotate | Download | only in CodeGen
      1 // 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 
      7 int 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 }
     16