aboutsummaryrefslogtreecommitdiff
path: root/tests/langerrors/o3_addr.zc
blob: 9ff029fc9353459a02b7cc586b73d71665735cde (plain) (blame)
1
2
// expect: an o3 variable has no address
fn main() { o3 int z = 2; int* q = &z; return *q; }