1// PR c++/18464
2
3struct A
4{
5  A(int);
6  operator void*() const;
7};
8
9template<int> void foo(const A& x) { 0 ? x : (x ? x : 0); }
10