17 lines · cpp
1// RUN: c-index-test -test-load-source-memory-usage none %s 2>&1 | FileCheck %s2 3// We would create millions of Exprs to fill out the initializer.4 5double data[1000000] = {0};6double data_empty_init[1000000] = {};7 8struct S {9 S(int);10 S();11};12 13S data2[1000000] = {0};14S data_empty_init2[1000000] = {};15 16// CHECK: TOTAL = {{.*}} ({{0|1}}.{{.*}} MBytes)17