Annotation of src/tests/usr.bin/xlint/lint1/d_type_conv3.c, Revision 1.5
1.5 ! rillig 1: /* $NetBSD: d_type_conv3.c,v 1.4 2021/04/05 01:35:34 rillig Exp $ */
1.2 rillig 2: # 3 "d_type_conv3.c"
3:
1.1 jruoho 4: /* Flag information-losing type conversion in argument lists */
5:
6: int f(unsigned int);
7:
8: void
9: should_fail()
10: {
11:
1.5 ! rillig 12: /* expect+2: warning: argument #1 is converted from 'long long' to 'unsigned int' due to prototype [259] */
! 13: /* expect+1: warning: conversion of 'long long' to 'unsigned int' is out of range, arg #1 [295] */
! 14: f(0x7fffffffffffffffLL);
1.1 jruoho 15: }
CVSweb <webmaster@jp.NetBSD.org>