mirror of
https://github.com/apache/impala.git
synced 2025-12-31 15:00:10 -05:00
18 lines
394 B
C++
18 lines
394 B
C++
// Copyright (c) 2012 Cloudera, Inc. All right reserved.
|
|
|
|
// This is a test-only file. It was used to generate test-loop.ir
|
|
// which is used by the unit test to exercise loading precompiled
|
|
// ir.
|
|
#include <stdio.h>
|
|
|
|
__attribute__ ((noinline)) void DefaultImplementation() {
|
|
printf("Default\n");
|
|
}
|
|
|
|
void TestLoop(int n) {
|
|
for (int i = 0; i < n; ++i) {
|
|
DefaultImplementation();
|
|
}
|
|
}
|
|
|