blob: 9029fb9c6701d98e455c8b3a97c9a80cb7d376e5 [file] [log] [blame]
Zhongxing Xu15f6b422010-03-02 10:08:30 +00001// RUN: %clang_cc1 -analyze -inline-call -analyzer-store region -analyze-function f2 -verify %s
2
3// Test parameter 'a' is registered to LiveVariables analysis data although it
4// is not referenced in the function body.
5int f1(int a) {
6 return 1;
7}
8
9void f2() {
10 int x;
11 x = f1(1);
12}