diff options
Diffstat (limited to 'test/std/input.output/iostream.objects/narrow.stream.objects/clog.pass.cpp')
| -rw-r--r-- | test/std/input.output/iostream.objects/narrow.stream.objects/clog.pass.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/std/input.output/iostream.objects/narrow.stream.objects/clog.pass.cpp b/test/std/input.output/iostream.objects/narrow.stream.objects/clog.pass.cpp new file mode 100644 index 000000000000..3812b203ae04 --- /dev/null +++ b/test/std/input.output/iostream.objects/narrow.stream.objects/clog.pass.cpp @@ -0,0 +1,23 @@ +//===----------------------------------------------------------------------===// +// +// 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. +// +//===----------------------------------------------------------------------===// + +// <iostream> + +// istream clog; + +#include <iostream> + +int main() +{ +#if 0 + std::clog << "Hello World!\n"; +#else + (void)std::clog; +#endif +} |
