diff options
Diffstat (limited to 'test cases/15 mixed pch/main.cc')
-rw-r--r-- | test cases/15 mixed pch/main.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/15 mixed pch/main.cc b/test cases/15 mixed pch/main.cc new file mode 100644 index 0000000..44d049e --- /dev/null +++ b/test cases/15 mixed pch/main.cc @@ -0,0 +1,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(); +} |