]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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 |