7 lines · cpp
1// RUN: %clang_cc1 -std=c++20 -verify %s2 3// A named module shall contain exactly one module interface unit.4module M; // expected-error {{module 'M' not found}}5 6// FIXME: How do we ensure there is not more than one?7 1// RUN: %clang_cc1 -std=c++20 -verify %s2 3// A named module shall contain exactly one module interface unit.4module M; // expected-error {{module 'M' not found}}5 6// FIXME: How do we ensure there is not more than one?7