Home | History | Annotate | Download | only in namespace.udecl

Lines Matching refs:foo

7 class foo {};	// expected-note {{candidate}}
8 test<0> foo(foo); // expected-note {{candidate}}
11 class foo { int x; };
12 test<1> foo(class foo);
15 test<2> foo(class ::foo); // expected-note {{candidate}} \
19 using ::foo;
21 class foo a;
22 test<0> _ = (foo)(a);
26 using Test0::foo;
28 class foo a;
29 test<1> _ = (foo)(a);
33 class ::foo a;
36 test<0> _0 = foo(a); // expected-error {{call to 'foo' is ambiguous}}
39 test<2> _1 = (foo)(a);
41 class Test0::foo b;
42 test<2> _2 = (foo)(b); // expected-error {{no viable conversion from 'class Test0::foo' to 'class ::foo' is possible}}