summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1y/auto-fn2.C
blob: f89c86ce3139ee66c9e26ecfccd3e7a1127d4343 (plain)
1
2
3
// { dg-do compile { target c++1y } }

auto f() { return f(); }	// { dg-error "auto" }