1 // { dg-do run  }
2 // { dg-options "-O2" }
3 
4 #include <iostream>
5 
foo(const char * x,std::ostream & y)6 std::ostream& foo (const char *x, std::ostream &y)
7 {
8   return y << "" << x;
9 }
10 
main()11 int main ()
12 {
13   foo ("", std::cout);
14 }
15