ORCA-C/Tests/Conformance/C21.1.0.2.CC

14 lines
251 B
C++

/* Conformance Test 21.1.0.2: Verification of assert, ndebug macros */
#include <assert.h>
#define NDEBUG 1
int printf(const char *, ...);
int main (void)
{
int i = 7;
assert (i == 7);
printf ("Passed Conformance Test 21.1.0.2\n");
}