1 // { dg-do compile { target c++14 } }
3 auto f() { return 42; } // { dg-message "old declaration .auto" }
5 int f(); // { dg-error "new declaration" }
7 template <class T> auto f(T t) { return t; }
8 template <class T> T f(T t);
12 f(42); // { dg-error "ambiguous" }