]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_ofstream/3.cc
re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings)
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_ofstream / 3.cc
index 3cba2191ced6fa2ee2b18ef86b71baaa2ab197ed..8f264d4a37a4b82a46381c494a550b81bcedacd0 100644 (file)
@@ -58,9 +58,9 @@ struct gnu_char_traits
 {
   typedef gnu_char_type        char_type;
   typedef long                 int_type;
-  typedef long                 pos_type;
-  typedef unsigned long        off_type;
+  typedef std::streamoff       off_type;
   typedef long                 state_type;
+  typedef std::fpos<state_type>        pos_type;
   
   static void 
   assign(char_type& __c1, const char_type& __c2) { }