#pragma omp target teams distribute firstprivate(ba)
for(i=0;i<argc;++i)foo();
#pragma omp target
#pragma omp teams distribute firstprivate(ca) // expected-error {{no matching constructor for initialization of 'S3'}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute firstprivate(da)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute firstprivate(S2::S2s)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute firstprivate(S2::S2sc)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute firstprivate(h) // expected-error {{threadprivate or thread local variable cannot be firstprivate}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute private(i), firstprivate(i) // expected-error {{private variable cannot be firstprivate}} expected-note{{defined as private}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute firstprivate(i)
for(j=0;j<argc;++j)foo();
#pragma omp target teams distribute firstprivate(i) // expected-note {{defined as firstprivate}}
for(i=0;i<argc;++i)foo();// expected-error {{loop iteration variable in the associated loop of 'omp target teams distribute' directive may not be firstprivate, predetermined as private}}
#pragma omp target teams distribute firstprivate(j)