blob: a5601176be139b8489cf9c5e49f158198b465cf2 [file] [log] [blame]
// PR c++/85200
// { dg-do compile { target c++17 } }
template <typename T>
void f(){
[](auto v, auto b){
if constexpr (sizeof(v) == sizeof(int)) {
auto x = b;
}
}(0, 1);
}
int main(){
f<int>();
}