1// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
2// See https://llvm.org/LICENSE.txt for license information.
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4//
5//===----------------------------------------------------------------------===//
6
7#include "src/__support/File/file.h"
8#include "test/UnitTest/Test.h"
9
10TEST(LlvmLibcPlatformStreamTest, StdInSmokeTest) {
11 EXPECT_FALSE(LIBC_NAMESPACE::stdin == nullptr);
12}
13

source code of libc/test/src/__support/File/platform_stdin_test.cpp