blob: 44d049ed766c3711e7d696fb3c451bc9542d1825 (
plain)
1
2
3
4
5
6
7
8
9
10
|
extern "C" int cfunc();
void func() {
std::cout << "This is a function that fails to compile if iostream is not included."
<< std::endl;
}
int main(int argc, char **argv) {
return cfunc();
}
|