New tests

From-SVN: r32746
This commit is contained in:
Bernd Schmidt 2000-03-26 16:11:06 +00:00 committed by Bernd Schmidt
parent 28ff5bfb6e
commit adc66edadb
3 changed files with 41 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
* compile/20000326-1.c: New test.
* compile/20000326-2.c: New test.
2000-03-24 Geoff Keating <geoffk@cygnus.com>
* execute/va-arg-14.c: New test for va_start where the first

View File

@ -0,0 +1,23 @@
long sys_reboot(int magic1, int magic2, int cmd, void * arg)
{
switch (cmd) {
case 0x89ABCDEF:
break;
case 0x00000000:
break;
case 0xCDEF0123:
break;
case 0x4321FEDC:
break;
case 0xA1B2C3D4:
break;
default:
break;
};
return 0;
}

View File

@ -0,0 +1,13 @@
#ifndef NO_LABEL_VALUES
extern int printk(const char *fmt, ...);
void foo (int x, int y)
{
__label__ here;
here:
printk ("", &&here);
}
#else
int x;
#endif