17 lines · c
1// BOLT test case2 3#include <stdio.h>4 5typedef unsigned long long (*FP)();6 7extern FP getCallback();8extern FP getCallback2();9extern FP getCallback3();10 11int 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