1 // RUN: %clang_cc1 -fexperimental-new-constant-interpreter -verify=expected,both -fopenmp %s
2 // RUN: %clang_cc1 -verify=ref,both -fopenmp %s
6 int &j
= i
; // both-note {{declared here}}
8 // both-note@+2 {{initializer of 'j' is not a constant expression}}
9 // both-error@+1 {{integral constant expression}}
10 #pragma omp for simd aligned(f:j)
11 for (int i
= 0; i
< 10; ++i
);