Initial import
This commit is contained in:
commit
0a5348b401
31 changed files with 1907 additions and 0 deletions
19
exercises/test/test.cc
Normal file
19
exercises/test/test.cc
Normal file
|
@ -0,0 +1,19 @@
|
|||
#include <cmake-exercise/a.hh>
|
||||
|
||||
#include <vector>
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
// not a real test, heh.
|
||||
#ifdef HAVE_OPENMP
|
||||
# pragma omp parallel for
|
||||
for (int n = 0; n < 20; ++n)
|
||||
{
|
||||
A a;
|
||||
}
|
||||
|
||||
#else
|
||||
std::vector<A> a (20);
|
||||
#endif
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue