Print this page
new smatch

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/smatch/src/validation/Wunknown-attribute-yes.c
          +++ new/usr/src/tools/smatch/src/validation/Wunknown-attribute-yes.c
   1    1  static int foo(void) __attribute__((unknown_attribute));
   2    2  
   3    3  /*
   4    4   * check-name: warn-unknown-attribute-yes
   5    5   * check-command: sparse -Wunknown-attribute $file
   6    6   *
   7    7   * check-error-start
   8      -Wunknown-attribute-yes.c:1:37: warning: attribute 'unknown_attribute': unknown attribute
        8 +Wunknown-attribute-yes.c:1:37: warning: unknown attribute 'unknown_attribute'
   9    9   * check-error-end
  10   10   */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX