Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libcxx / test / std / input.output / iostream.objects / narrow.stream.objects / clog.sh.cpp
blob476addba050d1c8126691552a39466e01cc5c861
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 //===----------------------------------------------------------------------===//
9 // <iostream>
11 // ostream clog;
13 // RUN: %{build}
14 // RUN: %{exec} %t.exe 2> %t.actual
15 // RUN: echo -n 1234 > %t.expected
16 // RUN: diff %t.expected %t.actual
18 #include <iostream>
20 int main(int, char**) {
21 std::clog << "1234";
22 return 0;