summaryrefslogtreecommitdiff
path: root/cc/cc-test/src/baz.cpp
blob: 2d4b959e8479a5c07a45182d785227b3b6d1b8ae (plain)
1
2
3
4
5
6
7
8
9
#include <stdint.h>

extern "C" int32_t
baz() {
  int *a = new int(8);
  int b = *a;
  delete a;
  return b;
}