Mercurial > nand-ecoscentric
view packages/language/cxx/ustl/current/tests/bvt26.cpp @ 3403:8c8767bb9a62 default tip
devs/nand/micron_mt29: Remove defunct references (in comments) to mt29f2g08_oob_ecc.
| author | Ross Younger <wry@ecoscentric.com> |
|---|---|
| date | Sun, 18 Jan 2015 17:59:01 +1300 |
| parents | 4885e0722884 |
| children |
line wrap: on
line source
// This file is part of the uSTL library, an STL implementation. // // Copyright (c) 2005 by Mike Sharov <msharov@users.sourceforge.net> // This file is free software, distributed under the MIT License. #include "stdtest.h" void TestMacros (void) { #define VARNAME(n) LARG_NUMBER(v,n) #define VARDECL(n) VARNAME(n) = n int COMMA_LIST (9, VARDECL); cout << LIST(9, VARNAME, <<) << endl; #define TO_STRING(n) #n #define PRINT_N(n) REPEAT(n, TO_STRING) "\n" cout << LIST(9, PRINT_N, <<); } StdBvtMain (TestMacros)
