1 // RUN: %check_clang_tidy %s cppcoreguidelines-pro-type-reinterpret-cast %t
2 
3 int i = 0;
4 void *j;
f()5 void f() { j = reinterpret_cast<void *>(i); }
6 // CHECK-MESSAGES: :[[@LINE-1]]:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast]
7