Return to msg_100.c CVS log | Up to [cvs.NetBSD.org] / src / tests / usr.bin / xlint / lint1 |
File: [cvs.NetBSD.org] / src / tests / usr.bin / xlint / lint1 / msg_100.c (download)
Revision 1.2, Fri Jan 8 21:25:03 2021 UTC (3 years, 3 months ago) by rillig
lint: add tests for several messages |
/* $NetBSD: msg_100.c,v 1.2 2021/01/08 21:25:03 rillig Exp $ */ # 3 "msg_100.c" // Test for message: unary + is illegal in traditional C [100] /* lint1-flags: -Stw */ int unary_plus(int x) { return +x; }