2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-27 19:32:11 +00:00
[SVN r47167]
This commit is contained in:
Gennadiy Rozental
2008-07-07 05:50:26 +00:00
parent 3d11a33413
commit 877ded9f46

View File

@@ -1,4 +1,4 @@
// (C) Copyright Gennadiy Rozental 2001-2007.
// (C) Copyright Gennadiy Rozental 2001-2008.
// (C) Copyright Beman Dawes 2001.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
@@ -29,8 +29,13 @@
int cpp_main( int, char *[] ) // note the name
{
#if defined(APPLE) && defined(ppc)
printf("The ppc doesn't throw on divice-by-zero. No check.\n");
return 1;
#else
int div = 0;
return 10 / div;
#endif
}
//____________________________________________________________________________//