#pragma omp target teams firstprivate(S1) // expected-error {{'S1' does not refer to a value}}
foo();
#pragma omp target teams firstprivate(a, b, c, d, f) // expected-error {{firstprivate variable with incomplete type 'S1'}}
foo();
#pragma omp target teams firstprivate(argv[1]) // expected-error {{expected variable name}}
foo();
#pragma omp target teams firstprivate(ba)
foo();
#pragma omp target teams firstprivate(ca)
foo();
#pragma omp target teams firstprivate(da)
foo();
#pragma omp target teams firstprivate(S2::S2s)
foo();
#pragma omp target teams firstprivate(S2::S2sc)
foo();
#pragma omp target teams firstprivate(e, g) // expected-error {{calling a private constructor of class 'S4'}} expected-error {{calling a private constructor of class 'S5'}}
foo();
#pragma omp target teams firstprivate(h, B::x) // expected-error 2 {{threadprivate or thread local variable cannot be firstprivate}}
foo();
#pragma omp target teams private(i), firstprivate(i) // expected-error {{private variable cannot be firstprivate}} expected-note{{defined as private}}