c++ – OMP Sections fails with lastprivate

The programme with the lastprivate option specified for the sections directive crushes throwing an exception: Run-Time Check Failure #3 - The variable 'n' is being used without being initialized. The code is as simple as that:

#include <iostream>
#include <omp.h>

int main()
    int n = 0;

#pragma omp parallel sections lastprivate(n)
        n = 5;


Looks like the compiler says that I cannot initialise it because it is uninitialised (it even sounds dummy). Google says nothing. What is the problem?