1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9// XFAIL: *
10
11// Make sure the test DOES NOT pass if there are no diagnostics, but we didn't
12// use the 'expected-no-diagnostics' markup.
13//
14// Note: For the purpose of this test, make sure the file would otherwise
15// compile to make sure we really fail due to a lack of markup.
16
17int main(int, char**) { return 0; }
18

source code of libcxx/test/selftest/verify.cpp/no-diagnostics-unmarked.verify.cpp