Richard Smith d652bdd05f [c++20] Parsing support for module-declarations, import-declarations,
and the global and private module fragment.

For now, the private module fragment introducer is ignored, but use of
the global module fragment introducer should be properly enforced.

llvm-svn: 358353
2019-04-14 08:06:59 +00:00

5 lines
216 B
C++

// RUN: %clang_cc1 -std=c++2a -verify %s
export module foo:bar; // expected-error {{sorry, module partitions are not yet supported}}
import :baz; // expected-error {{sorry, module partitions are not yet supported}}