Searched refs:neverok (Results 1 – 2 of 2) sorted by relevance
20 int neverok(int q) _diagnose_if(1, "oh no", "error"); // expected-note 5{{from 'diagnose_if' attrib…35 neverok(0); // expected-error{{oh no}} in runConstant()36 neverok(1); // expected-error{{oh no}} in runConstant()37 neverok(m); // expected-error{{oh no}} in runConstant()39 int (*pok)(int) = neverok; // expected-error{{oh no}} in runConstant()40 pok = &neverok; // expected-error{{oh no}} in runConstant()
9 void neverok() _diagnose_if(!T(), "oh no", "error") {} // expected-note 4{{from 'diagnose_if'}} in neverok() function29 neverok<int>(); // expected-error{{oh no}} in runAll()30 neverok<short>(); // expected-error{{oh no}} in runAll()33 void (*pok)() = neverok<int>; // expected-error{{oh no}} in runAll()37 pok = &neverok<int>; // expected-error{{oh no}} in runAll()72 void neverok() _diagnose_if(N == 0 || N != 0, "oh no", "error") {} // expected-note 4{{from 'diagno… in neverok() function92 neverok<0>(); // expected-error{{oh no}} in runAll()93 neverok<1>(); // expected-error{{oh no}} in runAll()96 void (*pok)() = neverok<0>; // expected-error{{oh no}} in runAll()100 pok = &neverok<0>; // expected-error{{oh no}} in runAll()