not_testable.pass.cpp revision f5256e16dfc425c1d466f6308d4026d529ce9e0b
1//===----------------------------------------------------------------------===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. 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
23template <class CharT>
24class F
25    : public std::messages<CharT>
26{
27public:
28    explicit F(std::size_t refs = 0)
29        : std::messages<CharT>(refs) {}
30};
31
32int main()
33{
34}
35