2004-05-13 08:41:07 +02:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
extern char end []; /* Any old symbol we're sure will be defined. */
|
2004-10-28 23:21:59 +02:00
|
|
|
/* { dg-warning "cannot track unknown size extern" "cannot track unknown size extern" { target *-*-* } 0 } */
|
2004-05-13 08:41:07 +02:00
|
|
|
|
|
|
|
int main ()
|
|
|
|
{
|
|
|
|
/* dummy register */
|
|
|
|
__mf_register ((void *) end, 1, __MF_TYPE_GUESS, "end");
|
|
|
|
char z = end[0];
|
|
|
|
return z & 0;
|
|
|
|
}
|