blob: 641621e73384e65db6136496baceda32562449f4 [file] [log] [blame]
Louis Dionnef7b43232019-03-19 19:27:29 +00001//===----------------------------------------------------------------------===//
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//===----------------------------------------------------------------------===//
8
9// REQUIRES: c++98 || c++03 || c++11 || c++14
10
11// <filesystem>
12
13// namespace std::filesystem
14
15#include <filesystem>
16#include "test_macros.h"
17
18using namespace std::filesystem;
19
20#if TEST_STD_VER >= 11
21// expected-error@-3 {{no namespace named 'filesystem' in namespace 'std';}}
22#else
23// expected-error@-5 {{expected namespace name}}
24#endif
25
26int main(int, char**) {
27
28
29 return 0;
30}