bolt/deps/llvm-18.1.8/clang/test/CodeGenObjC/try.m
2025-02-14 19:21:04 +01:00

10 lines
367 B
Objective-C

// REQUIRES: x86-registered-target
// RUN: %clang_cc1 %s -fobjc-exceptions -S -o - -triple=i686-apple-darwin9
// RUN: %clang_cc1 %s -fobjc-exceptions -S -o - -triple=x86_64-apple-darwin9
// Don't crash if the internal proto for __objc_personality_v0 mismatches with
// an actual one.
void __objc_personality_v0() { }
void test1(void) {
@try { } @catch (...) { }
}