// RUN: %clang_cc1 -debug-info-kind=limited -S -emit-llvm %s -o - | FileCheck %s
classA{int a;};classB{public:B(){ a =new A;}~B(){delete a;}private:
A *a;};voidfn(B b);int i;voidfoo(){if(i){
B b1;fn(b1);}}// Check there is a line number entry for line 19 where b1 is destructed.
// CHECK: !DILocation(line: 19,