1 //===----------------------------------------------------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 // <locale>
11 
12 // class messages<charT>
13 
14 // catalog open(const basic_string<char>& name, const locale&) const;
15 
16 #include <locale>
17 #include <cassert>
18 
19 // As far as I can tell, the messages facet is untestable.  I have a best
20 // effort implementation in the hopes that in the future I will learn how
21 // to test it.
22 
23 template <class CharT>
24 class F
25     : public std::messages<CharT>
26 {
27 public:
F(std::size_t refs=0)28     explicit F(std::size_t refs = 0)
29         : std::messages<CharT>(refs) {}
30 };
31 
main()32 int main()
33 {
34 }
35