blob: 1e3d15dca1cb79c22944dfc8cc6980b23dd02d4d [file] [log] [blame]
// { dg-do compile { target c++17 } }
auto fn = [](auto i) {
if constexpr (sizeof(i) == 1)
return fn(123); // { dg-error "auto" }
};
int main() {
fn('!');
}