diff options
Diffstat (limited to 'libcxx/test/numerics/rand/rand.util/rand.util.seedseq/copy.fail.cpp')
-rw-r--r-- | libcxx/test/numerics/rand/rand.util/rand.util.seedseq/copy.fail.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libcxx/test/numerics/rand/rand.util/rand.util.seedseq/copy.fail.cpp b/libcxx/test/numerics/rand/rand.util/rand.util.seedseq/copy.fail.cpp new file mode 100644 index 00000000000..76b08c7597b --- /dev/null +++ b/libcxx/test/numerics/rand/rand.util/rand.util.seedseq/copy.fail.cpp @@ -0,0 +1,22 @@ +//===----------------------------------------------------------------------===// +// +// ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚThe LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +// <random> + +// class seed_seq; + +// seed_seq(); + +#include <random> + +int main() +{ + std::seed_seq s0; + std::seed_seq s(s0); +} |