]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/parameter/test/duplicates.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / parameter / test / duplicates.cpp
CommitLineData
92f5a8d4
TL
1// Copyright Daniel Wallin 2005.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at
4// http://www.boost.org/LICENSE_1_0.txt)
7c673cae
FG
5
6#include <boost/parameter.hpp>
7c673cae
FG
7#include "basics.hpp"
8
92f5a8d4
TL
9namespace test {
10
11 template <typename Params>
12 void f(Params const &)
13 {
14 }
7c673cae
FG
15}
16
17int main()
18{
92f5a8d4
TL
19 test::f((
20 test::_name = 1
21 , test::_value = 1
22 , test::_index = 1
23 , test::_tester = 1
24 , test::_value = 1 // repeated keyword: should not compile
25 ));
26 return 0;
7c673cae
FG
27}
28