1*f4a2713aSLionel Sambuc // RUN: %clang -emit-llvm -S -g %s -o - | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc // Radar 8396182 4*f4a2713aSLionel Sambuc // There are no lexical blocks, but we need two DILexicalBlockFiles to 5*f4a2713aSLionel Sambuc // correctly represent file info. 6*f4a2713aSLionel Sambuc foo()7*f4a2713aSLionel Sambucint foo() { 8*f4a2713aSLionel Sambuc int i = 1; 9*f4a2713aSLionel Sambuc # 4 "m.c" 10*f4a2713aSLionel Sambuc # 1 "m.h" 1 11*f4a2713aSLionel Sambuc int j = 2; 12*f4a2713aSLionel Sambuc # 2 "m.h" 13*f4a2713aSLionel Sambuc # 5 "m.c" 2 14*f4a2713aSLionel Sambuc return i + j; 15*f4a2713aSLionel Sambuc } 16*f4a2713aSLionel Sambuc 17*f4a2713aSLionel Sambuc // CHECK: DW_TAG_lexical_block 18*f4a2713aSLionel Sambuc // CHECK: !"m.h" 19*f4a2713aSLionel Sambuc // CHECK: DW_TAG_lexical_block 20*f4a2713aSLionel Sambuc // CHECK: !"m.c" 21*f4a2713aSLionel Sambuc // CHECK-NOT: DW_TAG_lexical_block 22