You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
524 B
25 lines
524 B
#ifdef OBJA
|
|
# error "OBJA is defined, but should not be"
|
|
#endif
|
|
#ifndef OBJB
|
|
# error "OBJB is not defined, but should be"
|
|
#endif
|
|
#ifdef OBJC
|
|
# error "OBJC is defined, but should not be"
|
|
#endif
|
|
#ifndef OBJD
|
|
# error "OBJD is not defined, but should be"
|
|
#endif
|
|
#ifdef OBJE
|
|
# error "OBJE is defined, but should not be"
|
|
#endif
|
|
extern int a_obj(void);
|
|
extern int b_obj(void);
|
|
extern int c_obj(void);
|
|
extern int d_obj(void);
|
|
extern int e_lib(void);
|
|
int main(void)
|
|
{
|
|
return a_obj() + b_obj() + c_obj() + d_obj() + e_lib();
|
|
}
|