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{
21 std::forward_list<X> q;
22};
23
24int main(int, char**)
25{
26
27 return 0;
28}
29

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