1// RUN: clang-tidy -checks=-*,google-runtime-int %s -- -x c 2>&1 | not grep 'warning:\|error:'
2
3long a(void);
4
5long b(long x);
6
7short bar(const short q, unsigned short w) {
8 long double foo;
9 unsigned short port;
10
11 const unsigned short bar;
12 long long *baar;
13 const unsigned short bara;
14 long const long moo;
15 long volatile long wat;
16 unsigned long y;
17 unsigned long long **const *tmp;
18 unsigned short porthole;
19
20 unsigned cast;
21 cast = (short)42;
22 return q;
23}
24
25void qux(void) {
26 short port;
27}
28

source code of clang-tools-extra/test/clang-tidy/checkers/google/runtime-int.c