summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/modernize-deprecated-ios-base-aliases.cpp
blob: 288fac8483db93a52f664b6bd72008b9e92dd251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace std {
class ios_base {
public:
  typedef int io_state;
  typedef int open_mode;
  typedef int seek_dir;

  typedef int streampos;
  typedef int streamoff;
};

template <class CharT>
class basic_ios : public ios_base {
};
} // namespace std

// Test function return values (declaration)
std::ios_base::io_state f_5();