summaryrefslogtreecommitdiffstats
path: root/test/CXX/module/module.unit/p3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/module/module.unit/p3.cpp')
-rw-r--r--test/CXX/module/module.unit/p3.cpp4
1 files changed, 4 insertions, 0 deletions
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}}