gecko-dev/tools/clang-tidy/test/modernize-deprecated-ios-base-aliases.cpp
Andi-Bogdan Postelnicu ca4a195007 Bug 1551842 - Add new clang-tidy checkers from clang 8.0.0. r=sylvestre,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D31229

--HG--
extra : moz-landing-system : lando
2019-05-22 14:55:45 +00:00

18 lines
No EOL
326 B
C++

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();