[libc++][nfc] Adds a missing generated file.
authorMark de Wever <koraq@xs4all.nl>
Wed, 21 Jul 2021 06:06:03 +0000 (08:06 +0200)
committerMark de Wever <koraq@xs4all.nl>
Wed, 21 Jul 2021 06:06:03 +0000 (08:06 +0200)
The file was created by libcxx/utils/generate_private_header_tests.py.

libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.module.verify.cpp [new file with mode: 0644]

diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.module.verify.cpp
new file mode 100644 (file)
index 0000000..db1f308
--- /dev/null
@@ -0,0 +1,16 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// REQUIRES: modules-build
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+// expected-error@*:* {{use of private header from outside its module: '__iterator/common_iterator.h'}}
+#include <__iterator/common_iterator.h>