]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/utility/identity_type/test/var_error.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / utility / identity_type / test / var_error.cpp
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/utility/identity_type
7
8 #include <map>
9
10 //[var_error
11 #define VAR(type, n) type var ## n
12
13 VAR(int, 1); // OK.
14 VAR(std::map<int, char>, 2); // Error.
15 //]
16
17 int main() { return 0; }
18