1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100882 // { dg-do compile } auto iota(int, int) { struct Result { this(int) { } } return Result(); } auto iota(int end) { int begin; return iota(begin, end); }