]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/functional/hash/test/extensions_hpp_test.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / functional / hash / test / extensions_hpp_test.cpp
CommitLineData
7c673cae
FG
1
2// Copyright 2009 Daniel James.
3// Distributed under the Boost Software License, Version 1.0. (See accompanying
4// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6// Check that boost/functional/hash/extensions.hpp works okay.
7//
8// It probably should be in boost/functional/hash/detail, but since it isn't it
9// should work.
10
11#include "./config.hpp"
12
13#include <boost/functional/hash/extensions.hpp>
14
15int main() {
16 int x[2] = { 2, 3 };
17 boost::hash<int[2]> hf;
18 hf(x);
19}