combo error
[libfirm] / ir / be / test / fehler054.c
1 /*$ -fno-inline $*/
2 /* 64 bit problems in beabi (should be worked around by now) */
3 #include <assert.h>
4
5 extern int func1(int version, const char *path, unsigned long long *ptr)
6 {
7         (void) version;
8         (void) path;
9         (void) ptr;
10         return 42;
11 }
12
13 extern inline int func2(const char *path, unsigned long long dev)
14 {
15         return func1(1, path, &dev);
16 }
17
18 int main()
19 {
20         int res = func2("bla", 1);
21         assert(res == 42);
22         return 0;
23 }