Print this page
new smatch

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/smatch/src/validation/nested-declarator.c
          +++ new/usr/src/tools/smatch/src/validation/nested-declarator.c
↓ open down ↓ 7 lines elided ↑ open up ↑
   8    8  }
   9    9  static void h(void)
  10   10  {
  11   11          static int [2](T)[3];
  12   12  }
  13   13  static int [2](*p)[3];
  14   14  int i(void (void)(*f));
  15   15  int j(int [2](*));
  16   16  /*
  17   17   * check-name: nested declarator vs. parameters
  18      - * check-error-start:
       18 + * check-error-start
  19   19  nested-declarator.c:11:23: warning: missing identifier in declaration
  20   20  nested-declarator.c:11:23: error: Expected ; at the end of type declaration
  21   21  nested-declarator.c:11:23: error: got (
  22   22  nested-declarator.c:13:15: error: Expected ; at the end of type declaration
  23   23  nested-declarator.c:13:15: error: got (
  24   24  nested-declarator.c:14:18: error: Expected ) in function declarator
  25   25  nested-declarator.c:14:18: error: got (
  26   26  nested-declarator.c:15:14: error: Expected ) in function declarator
  27   27  nested-declarator.c:15:14: error: got (
  28      - * check-error-end:
       28 + * check-error-end
  29   29   */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX