1// PR c++/13833 2 3struct X { 4 template <typename T> 5 X & operator << (const T &t); 6 X & operator<< (int& (*p) (int&)); 7}; 8 9X x; 10 11template <int> void foo () { 12 x << (1 ? "ok" : "failed"); 13} 14 15template void foo<1>(); 16