2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++20 -fopenmp %s
4 // FIXME: OpenMP should support capturing structured bindings
7 auto [a
, b
] = i
; // expected-note 2{{declared here}}
9 // expected-error@-1 {{capturing a structured binding is not yet supported in OpenMP}}
11 // expected-error@-1 {{capturing a structured binding is not yet supported in OpenMP}}