xref: /llvm-project/clang/test/Modules/cxx20.cpp (revision c32d261e27c8c63653799fa6e411c373bd81d519)
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -x c++ -std=c++20 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/cxx20 %s -verify -fno-modules-error-recovery
3 
4 // expected-no-diagnostics
5 
6 #include "decls.h"
7 
8 namespace StructuredBinding {
9   struct R { int x, y; };
10   static auto [a, b] = R();
11 }
12