Lines Matching refs:ObjSize
95 void ObjSize(int, void *const __attribute__((pass_object_size(0))));
98 …TakeFn(ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parameter 2 h… in Check()
99 …TakeFn(&ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parameter 2 … in Check()
100 …TakeFn(*ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parameter 2 … in Check()
101 …TakeFn(*****ObjSize); //expected-error{{cannot take address of function 'ObjSize' because paramete… in Check()
102 …TakeFn(*****&ObjSize); //expected-error{{cannot take address of function 'ObjSize' because paramet… in Check()
104 …void (*P)(int, void *) = ****ObjSize; //expected-error{{cannot take address of function 'ObjSize' … in Check()
105 …P = ****ObjSize; //expected-error{{cannot take address of function 'ObjSize' because parameter 2 h… in Check()
107 …TakeFn((ObjSize)); //expected-error{{cannot take address of function 'ObjSize' because parameter 2… in Check()
108 …TakeFn((void*)ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parame… in Check()
109 …TakeFn((decltype(P))((void*)ObjSize)); //expected-error{{cannot take address of function 'ObjSize'… in Check()