Searched refs:FuncPointerWithNoCfCheck (Results 1 – 2 of 2) sorted by relevance
4 typedef void (*FuncPointerWithNoCfCheck)(void) __attribute__((nocf_check)); // no-warning typedef18 …FuncPointerWithNoCfCheck fNoCfCheck = f; // expected-warning {{incompatible function pointer types… in testNoCfCheckMismatch()
4 [[gnu::nocf_check]] typedef void (*FuncPointerWithNoCfCheck)(void); // no-warning typedef18 …FuncPointerWithNoCfCheck fNoCfCheck = f; // expected-error {{cannot initialize a variable of type}} in testNoCfCheckMismatch()