xref: /llvm-project/libcxx/test/std/numerics/rand/rand.util/rand.util.seedseq/assign.compile.fail.cpp (revision 7a6aaf9b23d6ac2fb8c11c00c73e55c0bc7aa2f0)
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 // <random>
10 
11 // class seed_seq;
12 
13 // seed_seq();
14 
15 #include <random>
16 
main(int,char **)17 int main(int, char**)
18 {
19     std::seed_seq s0;
20     std::seed_seq s;
21     s = s0;
22 
23   return 0;
24 }
25