view examples/c3/cast.c3 @ 343:11c5a8a70c02 devel

Fix ide
author Windel Bouwman
date Sat, 01 Mar 2014 16:27:52 +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;
}