1 //===----------------------------------------------------------------------===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is dual licensed under the MIT and the University of Illinois Open 6 // Source Licenses. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 // XFAIL: libcpp-has-no-stdout 11 12 // <iostream> 13 14 // istream wcout; 15 16 #include <iostream> 17 18 int main() 19 { 20 #if 0 21 std::wcout << L"Hello World!\n"; 22 #else 23 (void)std::wcout; 24 #endif 25 } 26