1 //===----------------------------------------------------------------------===//
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 // <iostream>
10 
11 // istream clog;
12 
13 // FILE_DEPENDENCIES: %t.exe
14 // RUN: %{build}
15 // RUN: %{exec} %t.exe 2> %t.err
16 // RUN: grep -e 'Hello World!' %t.err
17 
18 #include <iostream>
19 
20 #include "test_macros.h"
21 
22 int main(int, char**)
23 {
24     std::clog << "Hello World!\n";
25 
26     return 0;
27 }
28