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

/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/tests/
H A Dtest_intnum.py20 def test_overflow(self): member in class:TIntNum
/external/skia/tests/
H A DPointTest.cpp86 static void test_overflow(skiatest::Reporter* reporter) { function
138 test_overflow(reporter);
/external/clang/test/SemaCXX/
H A Dconstant-expression-cxx1y.cpp395 constexpr bool test_overflow() { function in namespace:compound_assign
402 static_assert(test_overflow<int>(), ""); // expected-error {{constant}} expected-note {{call}}
403 static_assert(test_overflow<unsigned>(), ""); // ok, unsigned overflow is defined
404 static_assert(test_overflow<short>(), ""); // ok, short is promoted to int before multiplication
405 static_assert(test_overflow<unsigned short>(), ""); // ok
406 static_assert(test_overflow<unsigned long long>(), ""); // ok
407 static_assert(test_overflow<long long>(), ""); // expected-error {{constant}} expected-note {{call}}
408 static_assert(test_overflow<float>(), ""); // expected-error {{constant}} expected-note {{call}}

Completed in 138 milliseconds