xref: /llvm-project/clang/test/SemaOpenMP/gh104810.cpp (revision e732d1ce86783b1d7fe30645fcb30434109505b9)
1 // RUN: %clang_cc1 -fopenmp -fsyntax-only %s
2 
3 // expected-no-diagnostics
4 struct S {
5   int i;
6 };
7 
8 auto [a] = S{1};
9 
10 void foo() {
11     a;
12 }
13