2 // { dg-do compile { target c++11 } }
3 // { dg-final { scan-assembler "_Z3fooILPv0EEvPN9enable_ifIXeqT_LDnEEvE4typeE" } }
5 template <bool, typename T = void>
9 struct enable_if<true, T> { typedef T type; };
12 void foo(typename enable_if<P == nullptr>::type* = 0) {}
14 template void foo<(void *)0>(void *);