summaryrefslogtreecommitdiffstats
path: root/libcxx/test/libcxx/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp
blob: 04625da8822d7d82012c5a3903304fcbd1ca205b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

// REQUIRES: libcpp-has-no-global-filesystem-namespace

#include <cstdio>

int main() {
    // fopen is not available on systems without a global filesystem namespace.
    std::fopen("", "");
}
OpenPOWER on IntegriCloud