Searched defs:diff5 (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/CXX/expr/expr.const/
H A Dp2-0x.cpp221 constexpr int diff5 = &a[1][2].n - &a[1][0].n; // expected-error {{constant expression}} expected-note {{subtracted pointers are not elements of the same array}} member in namespace:UndefinedBehavior::Ptr

Completed in 36 milliseconds