Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.warn/iomanip.C

raw
1 // { dg-do assemble }
2 // { dg-options "-O -Winline" }
3 // { dg-skip-if "requires hosted libstdc++ for iomanip" { ! hostedlib } }
4 // Bug: g++ wouldn't inline op<< because it was an explicit instantiation.
5 // Origin: Jason Merrill <[email protected]>
6
7 #include <iomanip>
8 #include <iostream>
9
10 void
11 f()
12 {
13 std::cout << std::setw(3);
14 }