blob: 47cad16674756530cfa0e10d912b91ad0c40cd76 (
plain) (
blame)
1
2
3
4
5
6
|
// expect error: an o3 variable has no address
// spec 4.10.1
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { o3 { int x = 1; int* p = &x; } return 0; }
// zc0: skip
|