Searched refs:fwd_decl (Results 1 – 1 of 1) sorted by relevance
70 auto fwd_decl(); // expected-note 2{{here}}72 int n = fwd_decl(); // expected-error {{function 'fwd_decl' with deduced return type cannot be used…73 int k = sizeof(fwd_decl()); // expected-error {{used before it is defined}}112 template<typename T> auto fwd_decl(); // expected-note {{declared here}}113 int e = fwd_decl<int>(); // expected-error {{cannot be used before it is defined}}114 template<typename T> auto fwd_decl() { return 0; } in fwd_decl() function115 int f = fwd_decl<int>();117 …auto fwd_decl(); // expected-note {{candidate template ignored: could not match 'auto ()' against …118 int g = fwd_decl<char>();126 extern template auto fwd_decl<double>();[all …]