diff options
Diffstat (limited to 'test cases/common/13 pch/mixed/main.cc')
-rw-r--r-- | test cases/common/13 pch/mixed/main.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/common/13 pch/mixed/main.cc b/test cases/common/13 pch/mixed/main.cc new file mode 100644 index 0000000..4321203 --- /dev/null +++ b/test cases/common/13 pch/mixed/main.cc @@ -0,0 +1,10 @@ +extern "C" int cfunc(); + +void func(void) { + std::cout << "This is a function that fails to compile if iostream is not included." + << std::endl; +} + +int main(void) { + return cfunc(); +} |