xref: /llvm-project/bolt/test/runtime/X86/Inputs/internalcall-main.c (revision 4c106cfdf7cf7eec861ad3983a3dd9a9e8f3a8ae)
1 // BOLT test case
2 
3 #include <stdio.h>
4 
5 typedef unsigned long long (*FP)();
6 
7 extern FP getCallback();
8 extern FP getCallback2();
9 extern FP getCallback3();
10 
main()11 int main() {
12   printf("Case 1: Result is: %llX\n", (*getCallback())());
13   printf("Case 2: Result is: %llX\n", (*getCallback2())());
14   printf("Case 3: Result is: %llX\n", (*getCallback3())());
15   return 0;
16 }
17