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