1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -g -emit-llvm %s -o - | FileCheck %s 2*f4a2713aSLionel Sambuc // Do not use function name to create named metadata used to hold 3*f4a2713aSLionel Sambuc // local variable info. For example. llvm.dbg.lv.~A is an invalid name. 4*f4a2713aSLionel Sambuc 5*f4a2713aSLionel Sambuc // CHECK-NOT: llvm.dbg.lv.~A 6*f4a2713aSLionel Sambuc class A { 7*f4a2713aSLionel Sambuc public: ~A()8*f4a2713aSLionel Sambuc ~A() { int i = 0; i++; } 9*f4a2713aSLionel Sambuc }; 10*f4a2713aSLionel Sambuc foo(int i)11*f4a2713aSLionel Sambucint foo(int i) { 12*f4a2713aSLionel Sambuc A a; 13*f4a2713aSLionel Sambuc return 0; 14*f4a2713aSLionel Sambuc } 15