]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/parameter/test/duplicates.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / parameter / test / duplicates.cpp
1 // Copyright Daniel Wallin 2005. Use, modification and distribution is
2 // subject to the Boost Software License, Version 1.0. (See accompanying
3 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4
5 #include <boost/parameter.hpp>
6 #include <string.h>
7 #include "basics.hpp"
8
9 namespace test
10 {
11 template <class Params>
12 void f(Params const &) {}
13 }
14
15 int main()
16 {
17 using namespace test;
18
19 f((name = 1, value = 1, test::index = 1, tester = 1,
20 value = 1 // repeated keyword: should not compile
21 ));
22 return 0;
23 }
24