☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
sibcall1.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/sibcall1.C
code
plain
raw
1
// { dg-do run }
2
// { dg-options "-O2" }
3
// { dg-skip-if "requires hosted libstdc++ for iostream" { ! hostedlib } }
4
5
#include <iostream>
6
7
std::ostream& foo (const char *x, std::ostream &y)
8
{
9
return y << "" << x;
10
}
11
12
int main ()
13
{
14
foo ("", std::cout);
15
}