2006-02-21 04:11:00 +08:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#pragma weak undef_data
|
|
|
|
|
2006-02-24 06:23:26 +08:00
|
|
|
extern int undef_data;
|
|
|
|
int *ptr_to_data = &undef_data;
|
2006-02-21 04:11:00 +08:00
|
|
|
|
|
|
|
int
|
|
|
|
main (void)
|
|
|
|
{
|
|
|
|
if (ptr_to_data == NULL)
|
|
|
|
printf ("PASSED\n");
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|