summaryrefslogtreecommitdiffhomepage
path: root/Examples/ExampleCDialect.c
blob: 899062ccc60604eba73695065301ec2433404868 (plain)
1
2
3
4
5
6
7
8
9
10
11
int main(int argc, char const* argv[]) {
  int* foo = 0x1000;

  if (foo == 57) {
    foo = 0x2000;
    *foo = 5;
    return foo;
  }

  return 57;
}