blob: 723ab9890fd92ebf264baead5f7145f4e3457ac9 (
plain) (
blame)
1
2
3
4
5
6
7
|
namespace;
include rt;
// expect: is called before its body, so its owned return can't be known there
int* mk() { int* p = rt.new(int); return p; }
fn main() { return forward(); }
int* forward() { return mk(); }
|