xref: /aosp_15_r20/external/clang/test/CodeGen/funccall.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 
2 static int q;
3 
foo()4 void foo() {
5   int t = q;
6   q = t + 1;
7 }
main()8 int main() {
9   q = 0;
10   foo();
11   q = q - 1;
12 
13   return q;
14 }
15 
16 // This is the source that corresponds to funccall.ll
17 // RUN: echo foo
18