diff options
Diffstat (limited to 'tests/manual/pch/main.cpp')
-rw-r--r-- | tests/manual/pch/main.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/manual/pch/main.cpp b/tests/manual/pch/main.cpp new file mode 100644 index 000000000..83d04ea54 --- /dev/null +++ b/tests/manual/pch/main.cpp @@ -0,0 +1,27 @@ +#include "myobject.h" +#include <algorithm> +#include <iostream> +#include <list> + +using namespace std; + +int main(int argc, char **argv) +{ + MyObject obj; + list<int> lst; + lst.push_back(1); + lst.push_back(2); + lst.push_back(3); + lst.push_back(4); + lst.push_back(5); + lst.push_back(6); + lst.push_back(7); + lst.push_back(8); + lst.push_back(9); + reverse(lst.begin(), lst.end()); + for (list<int>::iterator it=lst.begin(); it != lst.end(); ++it) + cout << *it << ", "; + cout << endl; + return 0; +} + |