You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
libcxx_old/test/libcxx/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp

18 lines
551 B
C++

//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// REQUIRES: libcpp-has-no-global-filesystem-namespace
#include <cstdio>
int main() {
// fopen is not available on systems without a global filesystem namespace.
std::fopen("", "");
}