16 lines · plain
1// RUN: %clang_cc1 -debug-info-kind=limited -fobjc-exceptions -emit-llvm %s -o - | FileCheck %s2@interface Foo @end3void f0(void) {4 @try {5 @throw @"a";6 } @catch(Foo *e) {7 }8}9 10// We should have 3 lexical blocks here at the moment, including one11// for the catch block.12// CHECK: !DILexicalBlock(13// CHECK: !DILocalVariable(14// CHECK: !DILexicalBlock(15// CHECK: !DILexicalBlock(16