2 // { dg-do compile { target c++14 } }
5 static constexpr int foo (int b) {
13 template<typename F,typename A>
15 bar(F f, A a) -> decltype( ( f(a) , 0 ) ) // { dg-message "" }
23 auto l = [](auto of_type_X)->
24 Void<(decltype(of_type_X)::foo(f), 0)> // { dg-error "variable" }
26 bar(l , X{}); // { dg-error "no match" }