Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 %s -debug-info-kind=line-tables-only -fblocks -S -emit-llvm -o - | FileCheck %s
      2 
      3 struct A {
      4   A();
      5   A(const A &);
      6   ~A();
      7 };
      8 
      9 void test() {
     10   __block A a;
     11 }
     12 
     13 // CHECK: !DISubprogram(name: "__Block_byref_object_copy_",
     14 // CHECK-SAME:          line: 10,
     15 // CHECK-SAME:          isLocal: true, isDefinition: true
     16 // CHECK: !DISubprogram(name: "__Block_byref_object_dispose_",
     17 // CHECK-SAME:          line: 10,
     18 // CHECK-SAME:          isLocal: true, isDefinition: true
     19