• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 // Copyright (C) 2009-2012 Lorenzo Caminiti
3 // Distributed under the Boost Software License, Version 1.0
4 // (see accompanying file LICENSE_1_0.txt or a copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
6 // Home at http://www.boost.org/libs/local_function
7 
8 #include "const_block.hpp"
9 #include <cassert>
10 
main(void)11 int main(void) {
12     int x = 0, y = 0;
13     CONST_BLOCK(x, y) {
14         assert(x == y);
15     } CONST_BLOCK_END
16     return 0;
17 }
18 
19