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// <forward_list>
10
11// class forward_list
12
13// forward_list();
14
15#include <forward_list>
16
17#include "test_macros.h"
18
19struct X {
20 std::forward_list<X> q;
21};
22
23int main(int, char**) { return 0; }
24

source code of libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/default_recursive.pass.cpp