Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libc / test / src / math / RandUtils.cpp
blob0d09764f6056d6eefaad3f1af0fd45bdba1762ad
1 //===-- RandUtils.cpp -----------------------------------------------------===//
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 //===----------------------------------------------------------------------===//
9 #include "RandUtils.h"
11 #include <cstdlib>
13 namespace LIBC_NAMESPACE {
14 namespace testutils {
16 int rand() { return std::rand(); }
18 } // namespace testutils
19 } // namespace LIBC_NAMESPACE