aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/method-signatures.m
blob: b03570950a2110f28f02f4afb202c82cf4127bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Check method signatures for synthesized runtime functions.
//
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 \
// RUN:    -fexceptions -fobjc-nonfragile-abi2 -emit-llvm -o %t %s
// RUN: FileCheck < %t %s

// CHECK: declare void @objc_exception_rethrow()
void f1(void);
void f0() {
  @try {
    f1();
  } @finally {
  }
}