brintos

brintos / llvm-project-archived public Read only

0
0
Text · 374 B · d60112b Raw
18 lines · cpp
1// RUN: %clang_cc1 -std=c++20 -verify %s2// expected-no-diagnostics3 4#pragma clang module build M5module "M" {6  module "A" {}7  module "B" {}8}9#pragma clang module contents10#pragma clang module begin M.A11enum E1 {};12#pragma clang module end13#pragma clang module begin M.B14enum E1 {};15using T = __underlying_type(E1);16#pragma clang module end17#pragma clang module endbuild18