Warning, file /sdk/heaptrack/tests/manual/test_aggregation.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2014-2017 Milian Wolff <mail@milianw.de> 0003 0004 SPDX-License-Identifier: LGPL-2.1-or-later 0005 */ 0006 0007 void foo() 0008 { 0009 new char[1]; 0010 } 0011 0012 void bar() 0013 { 0014 foo(); 0015 new char[2]; 0016 } 0017 0018 void asdf() 0019 { 0020 bar(); 0021 new char[3]; 0022 } 0023 0024 void foobar() 0025 { 0026 asdf(); 0027 new char[5]; 0028 } 0029 0030 int main() 0031 { 0032 asdf(); 0033 new char[4]; 0034 foobar(); 0035 return 0; 0036 }