blob: 8657e2dd212af21fc261053394d479485f50423f [file] [log] [blame]
Alexander Kornienko98038502014-12-08 11:17:25 +00001// RUN: clang-tidy -checks=-*,google-runtime-int %s -- -x c 2>&1 | not grep 'warning:\|error:'
2
3long a();
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() {
26 short port;
27}