D | arguments_test.cc | 269 static_assert(SOME_VARIADIC_MACRO(X1, X2, X3, X4) == 4); in TEST() 270 static_assert(SOME_VARIADIC_MACRO(X1, X2, X3, X4, X5) == 5); in TEST() 277 static_assert(ANOTHER_VARIADIC_MACRO(X0, X1, X2, X3, X4) == 4); in TEST() 278 static_assert(ANOTHER_VARIADIC_MACRO(X0, X1, X2, X3, X4, X5) == 5); in TEST() 285 static_assert(ALWAYS_ONE_ARG(X0, X1, X2, X3, X4) == 1); in TEST() 286 static_assert(ALWAYS_ONE_ARG(X0, X1, X2, X3, X4, X5) == 1); in TEST() 301 static_assert(PW_MACRO_ARG_COUNT(X1, X2, X3, X4) == 4); in TEST() 302 static_assert(PW_MACRO_ARG_COUNT(X1, X2, X3, X4, X5) == 5); in TEST() 303 static_assert(PW_MACRO_ARG_COUNT(X1, X2, X3, X4, X5, X6) == 6); in TEST() 304 static_assert(PW_MACRO_ARG_COUNT(X1, X2, X3, X4, X5, X6, X7) == 7); in TEST() [all …]
|