1 #define MOZ_IMPLICIT __attribute__((annotate("moz_implicit")))
4 Foo(int); // expected-error {{bad implicit conversion constructor for 'Foo'}} expected-note {{consider adding the explicit keyword to the constructor}}
5 Foo(int, char=0); // expected-error {{bad implicit conversion constructor for 'Foo'}} expected-note {{consider adding the explicit keyword to the constructor}}
6 Foo(...); // expected-error {{bad implicit conversion constructor for 'Foo'}} expected-note {{consider adding the explicit keyword to the constructor}}
8 Foo(float); // expected-error {{bad implicit conversion constructor for 'Foo'}} expected-note {{consider adding the explicit keyword to the constructor}}
13 Foo(const volatile Foo
&);
17 Foo(const volatile Foo
&&);
22 explicit Bar(int, char=0);
27 MOZ_IMPLICIT
Baz(int);
28 MOZ_IMPLICIT
Baz(int, char=0);
29 MOZ_IMPLICIT
Baz(...);
34 Barn(int, char=0) = delete;
40 Abstract(int, char=0);
47 Template(int); // expected-error {{bad implicit conversion constructor for 'Template'}} expected-note {{consider adding the explicit keyword to the constructor}}
49 Template(float); // expected-error {{bad implicit conversion constructor for 'Template'}} expected-note {{consider adding the explicit keyword to the constructor}}