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