mirror of https://github.com/lukechilds/cc-rs.git
Alex Crichton
10 years ago
4 changed files with 23 additions and 6 deletions
@ -0,0 +1,9 @@ |
|||
#include <stdint.h> |
|||
|
|||
extern "C" int32_t |
|||
baz() { |
|||
int *a = new int(8); |
|||
int b = *a; |
|||
delete a; |
|||
return b; |
|||
} |
Loading…
Reference in new issue