summaryrefslogtreecommitdiff
path: root/test/libcxx/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp
blob: 31a37229bf0ce2552afb391368ea4c181d509a86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//===----------------------------------------------------------------------===//
//
//                     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("", "");
}