Searched refs:passLargeArray (Results 1 - 1 of 1) sorted by relevance
/external/clang/test/SemaCXX/ |
H A D | constexpr-printing.cpp | 52 constexpr int passLargeArray(V v) { return get(v.arr+256); } // expected-note {{in call to 'get(&v.arr[256])'}} function in struct:V 53 static_assert(passLargeArray(v) == 0, ""); // expected-error {{constant expression}} expected-note {{in call to 'passLargeArray({{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...}})'}}
|
Completed in 83 milliseconds