Reference types were being constructed from openmp private clauses without propagating volatility. Fix this by checking the volatility of the original variable and add a test.
Reference types were being constructed from openmp private clauses without propagating volatility. Fix this by checking the volatility of the original variable and add a test.