1  #include <stdio.h>
       2  
       3  int protected = 42;
       4  extern int *get_protected_ptr (void);
       5  
       6  void
       7  test()
       8  {
       9    if (&protected == get_protected_ptr ())
      10      printf ("PASS\n");
      11  }