brintos

brintos / llvm-project-archived public Read only

0
0
Text · 278 B · 39420db Raw
15 lines · c
1#include <stdio.h>2 3__attribute__((nodebug)) static void add(int i, int j, void handler(int)) {4  handler(i + j);5}6 7static void handler(int result) {8  printf("result %d\n", result); // breakpoint9}10 11int main(int argc, char const *argv[]) {12  add(2, 3, handler);13  return 0;14}15