blob: 6fc3d46d50d9153dfda1e067acb5ab6ec8d6132e [file] [log] [blame]
John McCall260611a2012-06-20 06:18:46 +00001// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o %t %s
Fariborz Jahanianba8bda02010-11-09 21:38:20 +00002// RUN: grep -F 'declare i8* @objc_msgSend(i8*, i8*, ...)' %t
Daniel Dunbar9396dcf2009-04-23 07:00:09 +00003
4typedef struct objc_selector *SEL;
5id f0(id x, SEL s) {
6 return objc_msgSend(x, s);
7}