blob: 114765720e406baa89e8fdbc67cf00e06495d63d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* $NetBSD: d_constant_conv1.c,v 1.5 2023/03/28 14:44:34 rillig Exp $ */
# 3 "d_constant_conv1.c"
/* Flag information-losing constant conversion in argument lists */
/* lint1-extra-flags: -X 351 */
int f(unsigned int);
void
should_fail()
{
/* expect+1: warning: conversion of negative constant to unsigned type, arg #1 [296] */
f(-1);
}
|