Home
last modified time | relevance | path

Searched defs:pok (Results 1 – 2 of 2) sorted by relevance

/llvm-project/clang/test/Sema/
H A Ddiagnose_if.c31 int (*pok)(int) = alwaysok; in runConstant() local
39 int (*pok)(int) = neverok; // expected-error{{oh no}} in runConstant() local
47 int (*pok)(int) = alwayswarn; // expected-warning{{oh no}} in runConstant() local
55 int (*pok)(int) = neverwarn; in runConstant() local
/llvm-project/clang/test/SemaCXX/
H A Ddiagnose_if.cpp25 void (*pok)() = alwaysok<int>; in runAll() local
33 void (*pok)() = neverok<int>; // expected-error{{oh no}} in runAll() local
36 void (*pok)(); in runAll() local
43 void (*pok)() = alwayswarn<int>; // expected-warning{{oh no}} in runAll() local
50 void (*pok)() = neverwarn<int>; in runAll() local
88 void (*pok)() = alwaysok<0>; in runAll() local
96 void (*pok)() = neverok<0>; // expected-error{{oh no}} in runAll() local
99 void (*pok)(); in runAll() local
106 void (*pok)() = alwayswarn<0>; // expected-warning{{oh no}} in runAll() local
113 void (*pok)() = neverwarn<0>; in runAll() local