Searched defs:PMF (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
H A Dp1-11.cpp46 template<int (X::*pmf)(int)> struct PMF { // expected-note 2 {{template parameter is declared here}} struct
47 PMF<pmf> *pmf2;
50 PMF<0> pmf0; // expected-error{{null non-type template argument must be cast to template parameter type 'int (X::*)(int)'}}
51 PMF<(0)> pmf1; // expected-error{{null non-type template argument must be cast to template parameter type 'int (X::*)(int)'}}
52 PMF<nullptr> pmf2;
53 PMF<get_nullptr()> pmf3;
54 PMF<(int (X::*)(int))0> pmf4;
55 PMF<np> pmf5;

Completed in 98 milliseconds