summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/clang-analyzer-core.CallAndMessage.cpp
blob: 286189e25b5115d3663b0563ba522e4fbcd654b3 (plain)
1
2
3
4
5
6
7
8
9
10
struct S {
  int x;
};

void f(struct S s);

void test() {
  struct S s;
  f(s);
}