[BACK]Return to msg_014.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / tests / usr.bin / xlint / lint1

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/tests/usr.bin/xlint/lint1/msg_014.c between version 1.5 and 1.6

version 1.5, 2022/04/02 21:47:04 version 1.6, 2022/05/12 00:09:44
Line 6 
Line 6 
   
 typedef void function(void);  typedef void function(void);
   
 /* expect+1: error: cannot take size/alignment of function type 'function(void) returning void' [144] */  /* FIXME: '__alignof__' must be recognized. */
   /* expect+2: error: function '__alignof__' implicitly declared to return int [215] */
   /* expect+1: error: syntax error 'function' [249] */
 unsigned long alignof_function = __alignof__(function);  unsigned long alignof_function = __alignof__(function);
   
 struct illegal_bit_field {  struct illegal_bit_field {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

CVSweb <webmaster@jp.NetBSD.org>