xref: /llvm-project/lldb/test/API/commands/trace/intelpt-trace-multi-file/main.cpp (revision cfd96f057ba4256fef49518cad43d0a7f591da12)
1 #include "foo.h"
2 
inline_function()3 int __attribute__((always_inline)) inline_function() {
4   int z = 0;
5   z++;
6   return z;
7 }
8 
main()9 int main() {
10   int res = foo();
11 
12   res++;
13 
14   res += inline_function();
15 
16   res += foo();
17 
18   return res;
19 }
20