(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp1z/
constexpr-if18.C
// 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>();
}