aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/nonlazy-msgSend.m
blob: eb1dd2aac0979dc4c5b1682bdd356d104ab4db7f (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o - | FileCheck %s

// CHECK: declare ptr @objc_msgSend(ptr, ptr, ...) [[NLB:#[0-9]+]]
void f0(id x) {
  [x foo];
}

// CHECK: attributes [[NLB]] = { nonlazybind }