I have a problem when testing an example program that use CLASS statement.
I am testing FORTRAN 2003 features and i have noted that this my example program does not work correctly.
I compile in this way the three attached files:
ifort -c prova.f90
ifort -c prova_sub.f90
ifort -c test_prova.f90
ifort test_prova.o prova.o prova_sub.o
and when run my executable i obtain this output:
I do not understand line 3.
Could someone help me to find error(s) or give me an explanation of this behaviour?