blob: aaa1c9e39400c03ad24311541b0f454d604087df [file] [log] [blame]
#ifndef _CLANG_TOOLS_EXTRA_H_
#define _CLANG_TOOLS_EXTRA_H_
// Single FileCheck line to make sure that no loops are converted.
// CHECK-NOT: for ({{.*[^:]:[^:].*}})
static void loopInHeader() {
const int N = 10;
int arr[N];
int sum = 0;
for (int i = 0; i < N; ++i)
sum += arr[i];
}
#endif //_CLANG_TOOLS_EXTRA_H_