mescc: Tinycc support: Update some tests.
This commit is contained in:
parent
8c6e41d92d
commit
209f9cc599
File diff suppressed because one or more lines are too long
|
@ -28,6 +28,10 @@ main ()
|
|||
#else // !__MESC__
|
||||
asm ("mov $0,%ebx");
|
||||
asm ("mov $1,%eax");
|
||||
#if !__TINYC__
|
||||
asm ("int $0x80");
|
||||
#else
|
||||
asm ("int $128");
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -20,6 +20,10 @@
|
|||
|
||||
int g_time = 1;
|
||||
|
||||
#if __TINYC__
|
||||
#define time time_
|
||||
#endif
|
||||
|
||||
int*
|
||||
time ()
|
||||
{
|
||||
|
|
|
@ -18,6 +18,10 @@
|
|||
* along with Mes. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#if __TINYC__
|
||||
#define unsigned
|
||||
#endif
|
||||
|
||||
static int sint;
|
||||
static int sint2, sint3;
|
||||
typedef unsigned int size;
|
||||
|
@ -34,5 +38,6 @@ int
|
|||
main ()
|
||||
{
|
||||
void (*foo)() = &test;
|
||||
return test (0);
|
||||
test (0);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue