cout.pass.cpp revision b64f8b07c104c6cc986570ac8ee0ed16a9f23976
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// <iostream> 11 12// istream cout; 13 14#include <iostream> 15 16int main() 17{ 18#if 0 19 std::cout << "Hello World!\n"; 20 int i; 21 std::cout << "Enter a number: "; 22 std::cin >> i; 23 std::cout << "The number is : " << i << '\n'; 24#else // 0 25 (void)std::cout; 26#endif 27} 28