1// { dg-do run } 2// Test for subsequence checking in overload resolution. 3 4class foo { 5public: 6 void operator <<(char *) { } 7 void operator <<(const char * const &); 8}; 9 10int 11main() 12{ 13 char s[20]; 14 foo f; 15 f << s; 16} 17