1 extern int arr[];
   2 int test_arr_addr(int i)
   3 {
   4         if (!&arr) return 1;
   5         return 0;
   6 }
   7 
   8 int test_arr_addr0(int i)
   9 {
  10         if (!&arr[0]) return 1;
  11         return 0;
  12 }
  13 
  14 int test_arr_degen(int i)
  15 {
  16         if (!arr) return 1;
  17         return 0;
  18 }
  19 
  20 extern int fun(void);
  21 int test_fun_addr(int i)
  22 {
  23         if (!&fun) return 1;
  24         return 0;
  25 }
  26 
  27 int test_fun_degen(int i)
  28 {
  29         if (!fun) return 1;
  30         return 0;
  31 }
  32 
  33 /*
  34  * check-name: degenerate logical-not
  35  * check-command: test-linearize -Wno-decl $file
  36  *
  37  * check-output-ignore
  38  * check-output-excludes: load
  39  * check-output-excludes: VOID
  40  */