Home
last modified time | relevance | path

Searched refs:SumNonzero (Results 1 – 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
Dconstant-expression-cxx11.cpp537 constexpr int SumNonzero(const int *p) { in SumNonzero() function
538 return *p + (*p ? SumNonzero(p+1) : 0); in SumNonzero()
543 static_assert(SumNonzero(arr) == 6, "");