blob: 0ba8519dc0fd0fd0c5373aad5ec38905f62e64de (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Note: if using PGI compilers, you will need to add #include "prog.hh"
// even though you're using precompiled headers.
void func(void) {
std::cout << "This is a function that fails to compile if iostream is not included."
<< std::endl;
}
int main(void) {
func();
return 0;
}
|