parent
3e9416fc4a
commit
18ad46d6ef
3 changed files with 12 additions and 0 deletions
@ -0,0 +1,3 @@ |
||||
project('c++ pch test', 'c++') |
||||
exe = executable('prog', 'prog.cc') |
||||
exe.pch('pch/prog.hh') |
@ -0,0 +1 @@ |
||||
#include<iostream> |
@ -0,0 +1,8 @@ |
||||
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 0; |
||||
} |
Loading…
Reference in new issue