brintos

brintos / llvm-project-archived public Read only

0
0
Text · 325 B · b590f4e Raw
22 lines · plain
1// RUN: rm -rf %t2// RUN: mkdir %t3// RUN: split-file %s %t4//5// RUN: %clang_cc1 -std=c++20 %t/M.cppm -fsyntax-only -verify6 7//--- foo.h8typedef struct {9  int c;10  union {11    int n;12    char c[4];13  } v;14} mbstate;15 16//--- M.cppm17// expected-no-diagnostics18module;19#include "foo.h"20export module M;21export using ::mbstate;22