os/ossrv/genericopenlibs/cppstdlib/stl/test/unit/setjmp_header_test2.cpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
/* This test purpose is simply to check Standard header independancy that
sl@0
     2
 * is to say that the header can be included alone without any previous
sl@0
     3
 * include.
sl@0
     4
 * Additionnaly, for C Standard headers that STLport expose, it can also be
sl@0
     5
 * used to check that files included by those headers are compatible with
sl@0
     6
 * pure C compilers.
sl@0
     7
 */
sl@0
     8
sl@0
     9
/*
sl@0
    10
 * Sometimes, if native setjmp.h was included first, the setjmp functions
sl@0
    11
 * situated in global namespace, not in vendor's std. This may confuse
sl@0
    12
 * following csetjmp
sl@0
    13
 */
sl@0
    14
#include <setjmp.h>
sl@0
    15
#include <csetjmp>