Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / warn / Wstringop-overflow-6.C
blob51238dc6297c2ac2157baf236cb848213e0528e0
1 /* PR middle-end/97595 - bogus -Wstringop-overflow due to DECL_SIZE_UNIT
2    underreporting field size
3    { dg-do compile { target c++11 } }
4    { dg-options "-O2 -Wall -Wsystem-headers" }
5    { dg-skip-if "requires hosted libstdc++ for iostream" { ! hostedlib } } */
7 #include <iostream>
9 template void std::basic_iostream<char>::swap (basic_iostream&);