2 // This error is not subject to SFINAE because it doesn't happen in the
4 // { dg-do compile { target c++11 } }
5 // { dg-prune-output "note" }
7 template<typename T> T val();
18 = decltype( val<F>()( ) )>
22 = decltype( val<const F>()( ) )> // { dg-error "no match" }