xref: /llvm-project/clang/test/CXX/module/dcl.dcl/dcl.module/p2.cpp (revision d54888a3ebb141cdbb5e88ed7a3a2a54d24fc904)
1 // RUN: %clang_cc1 -std=c++20 -verify %s
2 
3 // A named module shall contain exactly one module interface unit.
4 module M; // expected-error {{module 'M' not found}}
5 
6 // FIXME: How do we ensure there is not more than one?
7