1 #!/usr/local/bin/rune -x
3 # Simple reading. Test the Rune feature which allows the casting of
4 # pointers to (void *) as long as the target object does not contain
5 # any pointers or lvalues.
15 # resolver should fail if the structure contains a pointer.
21 main(int ac, char **av)
27 fs.open("/usr/share/dict/words", 0, 0);
30 r = fs.read(&buf, sizeof(buf));
31 stdio.stdout->fwrite(&buf, r);