1 2 3 4 5 6 7 8 9 10
#ifndef SUB1 #error "Missing define" #endif #ifdef SUB2 #error "Extraneous define" #endif int main() { }