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