blob: c09c4f11bd4a1bc309a9ab285a196e8768f29e2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#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();
}
|