blob: d4434bda59b4f7a51475a68a5427ce5b5c5db0fc (
plain) (
blame)
1
2
3
4
5
6
|
// expect error: p: owned object is never used
// spec 6.5.2
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { int* p = rt.new(3); return 0; }
// zc0: skip
|