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 | |
11 | int main() { |
12 | printf(format: "Case 1: Result is: %llX\n", (*getCallback())()); |
13 | printf(format: "Case 2: Result is: %llX\n", (*getCallback2())()); |
14 | printf(format: "Case 3: Result is: %llX\n", (*getCallback3())()); |
15 | return 0; |
16 | } |
17 |