1 /* $NetBSD: msg_296.c,v 1.3 2022/06/16 21:24:41 rillig Exp $ */ 2 # 3 "msg_296.c" 3 4 // Test for message: conversion of negative constant to unsigned type, arg #%d [296] 5 6 void take_unsigned_int(unsigned int); 7 8 void 9 example(void) 10 { 11 /* expect+1: warning: conversion of negative constant to unsigned type, arg #1 [296] */ 12 take_unsigned_int(-3); 13 } 14