Skip to content
Permalink
50a8e40fec
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
17 lines (14 sloc) 364 Bytes
#include <iostream>
int test( int value, int expected )
{
if( value != expected )
{
std::cerr << "Error - value should be " << expected << " but it's " << value << " instead." << std::endl;
return 1;
}
return 0;
}
#define TEST( EXPECT ) errors += test( variable, EXPECT );
int errors = 0;
int *pointerToVariable = &variable;
#pragma GCC poison variable