• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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)
5 
6 #include <boost/parameter.hpp>
7 #include "basics.hpp"
8 
9 namespace test {
10 
11     template <typename Params>
f(Params const &)12     void f(Params const &)
13     {
14     }
15 }
16 
main()17 int main()
18 {
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;
27 }
28 
29