forked from OSchip/llvm-project
17 lines
360 B
C
17 lines
360 B
C
// BOLT test case
|
|
|
|
#include <stdio.h>
|
|
|
|
typedef unsigned long long (*FP)();
|
|
|
|
extern FP getCallback();
|
|
extern FP getCallback2();
|
|
extern FP getCallback3();
|
|
|
|
int main() {
|
|
printf("Case 1: Result is: %llX\n", (*getCallback())());
|
|
printf("Case 2: Result is: %llX\n", (*getCallback2())());
|
|
printf("Case 3: Result is: %llX\n", (*getCallback3())());
|
|
return 0;
|
|
}
|