summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.warn/iomanip.C
blob: c437b26dbd114227285e8a7df748e9cf8b4e3d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// { dg-options "-O -Winline" }
// Bug: g++ wouldn't inline op<< because it was an explicit instantiation.
// Origin: Jason Merrill <jason@cygnus.com>

#include <iomanip>
#include <iostream>

void
f()
{
  std::cout << std::setw(3);
}