[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git] / test / CodeGenObjC / return-objc-object.mm
blob95cce23a8682589bfe1bb2eb363ad15e42101ae5
1 // RUN: %clang_cc1 -triple x86_64 -emit-llvm -o - %s | FileCheck %s
3 @protocol P1 @end
4 @interface NSOperationQueue 
6   char ch[64];
7   double d;
9 @end
11 NSOperationQueue &f();
12 NSOperationQueue<P1> &f1();
14 void call_once() {
15   f();
16   f1();
18 // CHECK: call %0* @_Z1fv()
19 // CHECK: call %0* @_Z2f1v()