Searched refs:strcmp_ce (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
H A Dconstant-expression-cxx11.cpp389 constexpr int strcmp_ce(const char *p, const char *q) { function
390 return (!*p || *p != *q) ? *p - *q : strcmp_ce(p+1, q+1);
427 static_assert(strcmp_ce("hello world", "hello world") == 0, "");
428 static_assert(strcmp_ce("hello world", "hello clang") > 0, "");
429 static_assert(strcmp_ce("constexpr", "test") < 0, "");
430 static_assert(strcmp_ce("", " ") < 0, "");
694 static_assert(strcmp_ce(&agg1.c, "hello") == 0, "");
738 return a.a == b.a && strcmp_ce(a.b, b.b) == 0;

Completed in 1621 milliseconds