Lines Matching refs:Public
10 class Public {} PublicInst; class
17 void foo(Public&);
29 void (A::*a)(Public&) = &A::foo; in test()
39 void operator+(Public&);
40 void operator[](Public&);
41 void operator()(Public&);
42 typedef void (*PublicSurrogate)(Public&);
58 void operator+(const A &, Public&);
63 void test(A &a, Public &pub, Protected &prot, Private &priv) { in test()
163 operator Public(); // expected-note 2{{member is declared here}}
169 Public test2() { return *this; } in test2()
173 …Public test2(Derived1 &d) { return d; } // expected-error {{cannot cast 'test4::Derived1' to its p… in test2()
179 Public test2() { return *this; } in test2()
182 Public test2(Derived2 &d) { return d; } in test2()
190 …Public test2(Derived3 &d) { return d; } // expected-error {{'operator Public' is a private member … in test2()
198 Public test2(Derived4 &d) { return d; } in test2()