1 // RUN: %check_clang_tidy %s readability-magic-numbers %t --
2 // XFAIL: *
3 
4 int ProcessSomething(int input);
5 
DoWork()6 int DoWork()
7 {
8   if (((int)4) > ProcessSomething(10))
9   // CHECK-MESSAGES: :[[@LINE-1]]:13: warning: 4 is a magic number; consider replacing it with a named constant [readability-magic-numbers]
10     return 0;
11 
12    return 0;
13 }
14 
15 
16