2 // { dg-do compile { target c++11 } }
4 template <bool, class T> struct enable_if { };
5 template <class T> struct enable_if <true, T> { typedef T type; };
8 typename enable_if<x==0,int>::type
11 template<class F, int N>
12 decltype (ft<F> (F())) // { dg-error "depth" }
16 ft<struct a*, 0>(); // { dg-message "from here" }
19 // { dg-prune-output "compilation terminated" }