brintos

brintos / llvm-project-archived public Read only

0
0
Text · 305 B · e85bc9a Raw
12 lines · cpp
1// RUN: rm -rf %t2// 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-recovery3 4// expected-no-diagnostics5 6#include "decls.h"7 8namespace StructuredBinding {9  struct R { int x, y; };10  static auto [a, b] = R();11}12