Vijay Nayar:
> First, let's start with a simple program that segfaults due to a null
> pointer.
>
> // File seg.d
> class Dummy {
> int a;
> }
>
> void main() {
> Dummy d;
> d.a = 3;
> }
>
> You compile and run the program with expected results.
>
> $ dmd seg.d
> $ ./seg
> Segmentation faultAlso try to compile it with -O :-) Bye, bearophile
