[OpenACC] Enable 'attach' clause for combined constructs
[llvm-project.git] / clang / test / CodeGenObjC / ubsan-nullability-return-unreachable.m
blobccfa2254f65644999cb976942f928deb65178725
1 // RUN: %clang_cc1 -fsanitize=nullability-return -emit-llvm %s -o - -triple x86_64-apple-macosx10.10.0 -Wno-objc-root-class | FileCheck %s
3 // CHECK-LABEL: define internal ptr @"\01-[I init]"
4 // CHECK: unreachable
5 // CHECK-NEXT: }
7 #pragma clang assume_nonnull begin
8 @interface I
9 - (instancetype)init __attribute__((unavailable));
10 @end
11 @implementation I
12 - (instancetype)init __attribute__((unavailable)) { __builtin_unreachable(); }
13 @end
14 #pragma clang assume_nonnull end