From 33eb2fffd975207bf64cb479d6eb9493d5f4110d Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sun, 14 Apr 2019 08:06:59 +0000 Subject: [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358353 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CXX/module/module.unit/p3.cpp | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/CXX/module/module.unit/p3.cpp (limited to 'test/CXX/module/module.unit/p3.cpp') diff --git a/test/CXX/module/module.unit/p3.cpp b/test/CXX/module/module.unit/p3.cpp new file mode 100644 index 0000000000..2e08f4a9a8 --- /dev/null +++ b/test/CXX/module/module.unit/p3.cpp @@ -0,0 +1,4 @@ +// 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}} -- cgit v1.2.3