1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -fopenmp -verify %s
4 // TODO this must be fixed. This warning shouldn't be generated.
5 // expected-warning@+1{{function '(anonymous namespace)::bar' has internal linkage but is not defined}}
9 #pragma omp begin declare variant match(user = {condition(1)})
12 #pragma omp end declare variant
14 // expected-warning@+1{{function 'baz' has internal linkage but is not defined}}
16 #pragma omp begin declare variant match(device = {kind(nohost)})
18 #pragma omp end declare variant
20 #pragma omp begin declare variant match(device = {kind(host)})
22 #pragma omp end declare variant
26 // expected-note@+1{{used here}}
28 // expected-note@+1{{used here}}