]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/wave/test/testwave/testfiles/t_1_018.cpp
1 /*=============================================================================
2 Boost.Wave: A Standard compliant C++ preprocessor library
5 Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
6 Software License, Version 1.0. (See accompanying file
7 LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 =============================================================================*/
10 // Tests macro expansion sequence and proper rescanning
12 #define macro() expr_2
13 #define macro_2() expr
17 #define expr macro par ()
18 #define expr_2 macro_2 par par par()
22 //R #line 24 "t_1_018.cpp"
25 //R #line 27 "t_1_018.cpp"
26 //R macro_2 par par ()
28 //R #line 30 "t_1_018.cpp"
31 //R #line 33 "t_1_018.cpp"
33 scan(scan(scan(expr
)))
34 //R #line 36 "t_1_018.cpp"
36 scan(scan(scan(scan(expr
))))
37 //R #line 39 "t_1_018.cpp"
38 //R macro_2 par par ()
39 scan(scan(scan(scan(scan(expr
)))))
40 //R #line 42 "t_1_018.cpp"
42 scan(scan(scan(scan(scan(scan(expr
))))))