Initial import of libdpf.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
e4e666f459
4563 changed files with 1690372 additions and 0 deletions
22
thirdparty/hedley/test/concat.c
vendored
Normal file
22
thirdparty/hedley/test/concat.c
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#include "../hedley.h"
|
||||
|
||||
#define FOO a
|
||||
#define BAR b
|
||||
|
||||
#if HEDLEY_IAR_VERSION_CHECK(8,5,0)
|
||||
# pragma diag_suppress=Pe1818
|
||||
#endif
|
||||
|
||||
static int ab(int v) {
|
||||
return v * v;
|
||||
}
|
||||
|
||||
static int a_b(int v) {
|
||||
return HEDLEY_CONCAT(FOO, b)(v) * v;
|
||||
}
|
||||
|
||||
int main(int argc, const char** argv) {
|
||||
HEDLEY_STATIC_CAST(void, argv);
|
||||
|
||||
return HEDLEY_CONCAT3(FOO, _, BAR)(argc);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue