cout.pass.cpp revision 256813f4e7915d64776a4edd5f4765d893b9f062
1//===----------------------------------------------------------------------===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. 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