// { dg-do compile } // Origin: Alexander Stippler // PR c++/10079 template struct A {}; template struct B { enum { e }; }; template A<(B::e && 0)> foo(T) {} template void foo(B) {} void bar() { B b; foo(b); }