bolt/deps/llvm-18.1.8/clang/test/CXX/module/dcl.dcl/dcl.module/p2.cpp
2025-02-14 19:21:04 +01:00

6 lines
218 B
C++

// RUN: %clang_cc1 -std=c++20 -verify %s
// A named module shall contain exactly one module interface unit.
module M; // expected-error {{module 'M' not found}}
// FIXME: How do we ensure there is not more than one?