Home | History | Annotate | Download | only in temp.arg.nontype

Lines Matching refs:PM

35 template<int X::*pm> struct PM { // expected-note 2 {{template parameter is declared here}}
36 PM<pm> *pm2;
39 PM<0> pm0; // expected-error{{null non-type template argument must be cast to template parameter type 'int X::*'}}
40 PM<(0)> pm1; // expected-error{{null non-type template argument must be cast to template parameter type 'int X::*'}}
41 PM<nullptr> pm2;
42 PM<get_nullptr()> pm3;
43 PM<(int X::*)0> pm4;
44 PM<np> pm5;