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