Mercurial > hg > CbC > CbC_llvm
annotate clang/test/CodeGenObjC/catch-lexical-block.m @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -debug-info-kind=limited -fobjc-exceptions -emit-llvm %s -o - | FileCheck %s |
2 @interface Foo @end | |
3 void f0() { | |
4 @try { | |
5 @throw @"a"; | |
6 } @catch(Foo *e) { | |
7 } | |
8 } | |
9 | |
10 // We should have 3 lexical blocks here at the moment, including one | |
11 // for the catch block. | |
12 // CHECK: !DILexicalBlock( | |
13 // CHECK: !DILocalVariable( | |
14 // CHECK: !DILexicalBlock( | |
15 // CHECK: !DILexicalBlock( |