blob: 439eca75ae706fd766444ea2e95f9a482585434e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
// expect: 1/
// spec 4.9: unchecked; at top level switches the analyzer off for the rest of the unit
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
unchecked;
fn main() {
int* p = rt.new(int);
pn(1);
return 0;
}
|