summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/T13786/T13786a.c
blob: 70a27742647465be4ceebff3824e06e971572d56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>
#include <stdbool.h>

static bool flag_a = false;

extern void hello_b();

void hello_a() {
  if (! flag_a) {
      flag_a = true;
      hello_b();
  }

  printf("hello world A\n");
}