Back to index

cell-binutils  2.17cvs20070401
weakundef-data.c
Go to the documentation of this file.
00001 #include <stdio.h>
00002 
00003 #pragma weak undef_data
00004 
00005 extern int undef_data;
00006 int *ptr_to_data = &undef_data;
00007 
00008 int
00009 main (void)
00010 {
00011   if (ptr_to_data == NULL)
00012     printf ("PASSED\n");
00013 
00014   return 0;
00015 }