Searched refs:test_overflow (Results 1 – 5 of 5) sorted by relevance
28 .PHONY: clean output test_noargs test_2_to_2000 test_overflow44 output: example descriptions test_noargs test_2_to_2000 test_overflow63 all_tests: example test_noargs test_2_to_2000 test_overflow85 test_overflow: target
8 test_overflow
395 constexpr bool test_overflow() { in test_overflow() function402 static_assert(test_overflow<int>(), ""); // expected-error {{constant}} expected-note {{call}}403 static_assert(test_overflow<unsigned>(), ""); // ok, unsigned overflow is defined404 static_assert(test_overflow<short>(), ""); // ok, short is promoted to int before multiplication405 static_assert(test_overflow<unsigned short>(), ""); // ok406 static_assert(test_overflow<unsigned long long>(), ""); // ok407 …static_assert(test_overflow<long long>(), ""); // expected-error {{constant}} expected-note {{call…408 static_assert(test_overflow<float>(), ""); // expected-error {{constant}} expected-note {{call}}
86 static void test_overflow(skiatest::Reporter* reporter) { in test_overflow() function138 test_overflow(reporter); in DEF_TEST()
20 def test_overflow(self): member in TIntNum