Mercurial > lcfOS
view examples/c3/cast.c3 @ 309:68b01c8abf8a
Added start of ir read and write
author | Windel Bouwman |
---|---|
date | Fri, 13 Dec 2013 13:51:02 +0100 |
parents | 158068af716c |
children |
line wrap: on
line source
/* Demo of how to type cast */ module castdemo; function int testcast() { var int a; var int* b; a = 3; b = cast<int*>(a); return 0; }