Revision 1659 trunk/tests/gtests/main.cpp

main.cpp (revision 1659)
1 1
#include <gtest/gtest.h>
2 2

  
3
extern "C"
4
{
5
  void test_ad_exit(const int exit_code)
6
  {
7
    throw exit_code;
8
  }
9
}
10

  
3 11
int main(int argc, char** argv)
4 12
{
5 13
  ::testing::InitGoogleTest(&argc, argv);

Also available in: Unified diff