//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // template // class codecvt_utf8 // : public codecvt // { // // unspecified // }; // int encoding() const throw(); #include #include int main() { { typedef std::codecvt_utf8 C; C c; int r = c.encoding(); assert(r == 0); } { typedef std::codecvt_utf8 C; C c; int r = c.encoding(); assert(r == 0); } { typedef std::codecvt_utf8 C; C c; int r = c.encoding(); assert(r == 0); } }