1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only %s
3 template < bool, class > struct A
{};
4 template < class, int > void f () {};
5 template < class T
, int >
6 decltype (f
< T
, 1 >) f (T t
, typename A
< t
== 0, int >::type
) {};
17 auto foo(T x
) -> decltype((x
== nullptr), *x
) {