ENH: Fix test on HP-UX
This commit is contained in:
parent
e6de1efcb8
commit
2522153e59
@ -1,6 +1,6 @@
|
|||||||
char* foo = "Foo";
|
char* foo = "Foo";
|
||||||
|
|
||||||
int SomeFunctionInFoo(int i)
|
int SomeFunctionInFoo()
|
||||||
{
|
{
|
||||||
return i + 5;
|
return 5;
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern char* foo;
|
extern char* foo;
|
||||||
extern int SomeFunctionInFoo(int i);
|
extern int SomeFunctionInFoo();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -18,5 +18,5 @@ int main ()
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
printf("Foo: %s\n", foo);
|
printf("Foo: %s\n", foo);
|
||||||
return SomeFunctionInFoo(-5);
|
return SomeFunctionInFoo()-5;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
char* foo = "Foo";
|
char* foo = "Foo";
|
||||||
|
|
||||||
int SomeFunctionInFoo(int i)
|
int SomeFunctionInFoo()
|
||||||
{
|
{
|
||||||
return i + 5;
|
return 5;
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern char* foo;
|
extern char* foo;
|
||||||
extern int SomeFunctionInFoo(int i);
|
extern int SomeFunctionInFoo();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -18,5 +18,5 @@ int main ()
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
printf("Foo: %s\n", foo);
|
printf("Foo: %s\n", foo);
|
||||||
return SomeFunctionInFoo(-5);
|
return SomeFunctionInFoo()-5;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user