- implemented GNU ?: operator (no ast2firm support yet
[cparser] / parsetest / cp_error037.c
1 extern __inline__ unsigned int ntohl(unsigned int);
2 __inline__ unsigned int ntohl2(unsigned int);
3 static __inline__ unsigned int ntohl3(unsigned int);
4
5 extern __inline__ unsigned int xntohl(unsigned int a) { return 1; }
6 __inline__ unsigned int xntohl2(unsigned int a) { return 2; }
7 static __inline__ unsigned int xntohl3(unsigned int a) { return 3; }
8
9 // only xntohl2 should be globally visible
10 // the others should not even exist in the object file
11
12 int main(void)
13 {
14         return 0;
15 }