Fariborz Jahanian | 4dce59c | 2010-08-11 17:37:35 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple x86_64 -emit-llvm -o - %s | FileCheck %s |
2 | |||||
3 | @protocol P1 @end | ||||
4 | @interface NSOperationQueue | ||||
5 | { | ||||
6 | char ch[64]; | ||||
7 | double d; | ||||
8 | } | ||||
9 | @end | ||||
10 | |||||
11 | NSOperationQueue &f(); | ||||
12 | NSOperationQueue<P1> &f1(); | ||||
13 | |||||
14 | void call_once() { | ||||
15 | f(); | ||||
16 | f1(); | ||||
17 | } | ||||
Stephen Hines | 176edba | 2014-12-01 14:53:08 -0800 | [diff] [blame] | 18 | // CHECK: call dereferenceable({{[0-9]+}}) %0* @_Z1fv() |
19 | // CHECK: call dereferenceable({{[0-9]+}}) %0* @_Z2f1v() |