void test_explicit_cast_ambiguous3() { ambiguous_function(static_cast<int*>(reinterpret_cast<int*>((float*)0))); // CHECK-MESSAGES: :[[@LINE-1]]:40: warning: use nullptr // CHECK-FIXES: ambiguous_function(static_cast<int*>(nullptr)); }
void test_explicit_cast_ambiguous3() { ambiguous_function(static_cast<int*>(reinterpret_cast<int*>((float*)0))); // CHECK: ambiguous_function(static_cast<int*>(nullptr)); }
void test_explicit_cast_ambiguous2() { ambiguous_function((int*)(0)); // CHECK-MESSAGES: :[[@LINE-1]]:28: warning: use nullptr // CHECK-FIXES: ambiguous_function((int*)nullptr); }
void test_explicit_cast_ambiguous2() { ambiguous_function((int*)(0)); // CHECK: ambiguous_function((int*)nullptr); }