blob: a650094cd9942de7605c7532bd110098136287e2 [file]
#if defined(EXPECT_PERMISSIVE)
// Compiles only in permissive mode: /permissive- makes the alternative
// tokens keywords, so they cannot be used as identifiers.
int main()
{
int and = 0;
return and;
}
#elif defined(EXPECT_NON_PERMISSIVE)
// Compiles only in non-permissive mode: /permissive- makes the alternative
// tokens keywords, while the default mode needs <iso646.h> for them.
int main()
{
return 1 and 0;
}
#else
# error "Neither EXPECT_PERMISSIVE nor EXPECT_NON_PERMISSIVE is defined."
#endif