1*1f5207b7SJohn Levon #include "check_debug.h" 2*1f5207b7SJohn Levon 3*1f5207b7SJohn Levon unsigned int a; 4*1f5207b7SJohn Levon int b; func(void)5*1f5207b7SJohn Levonint func(void) 6*1f5207b7SJohn Levon { 7*1f5207b7SJohn Levon b = a; 8*1f5207b7SJohn Levon __smatch_implied(a); 9*1f5207b7SJohn Levon __smatch_implied(b); 10*1f5207b7SJohn Levon } 11*1f5207b7SJohn Levon 12*1f5207b7SJohn Levon /* 13*1f5207b7SJohn Levon * check-name: smatch: casts #3 14*1f5207b7SJohn Levon * check-command: smatch -I.. sm_casts3.c 15*1f5207b7SJohn Levon * 16*1f5207b7SJohn Levon * check-output-start 17*1f5207b7SJohn Levon sm_casts3.c:8 func() implied: a = '' 18*1f5207b7SJohn Levon sm_casts3.c:9 func() implied: b = 's32min-s32max' 19*1f5207b7SJohn Levon * check-output-end 20*1f5207b7SJohn Levon */ 21