qcc fails for the code below, because the type system is too rudimentary i.e. it does not recognize that f.rho is indeed a scalar.
attribute {
scalar ρ;
}
scalar f[];
event init (i = 0) {
f.ρ = new scalar;
}
Changing the code to
event init (i = 0) {
scalar a = new scalar;
f.ρ = a;
}
works.