xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_219.c (revision 9fb66d812c00ebfb445c0b47dea128f32aa6fe96)
1 /*	$NetBSD: msg_219.c,v 1.3 2021/01/31 11:12:07 rillig Exp $	*/
2 # 3 "msg_219.c"
3 
4 
5 /* Test for message: concatenated strings are illegal in traditional C [219] */
6 
7 /* lint1-flags: -t -w */
8 
9 char concat1[] = "one";
10 char concat2[] = "one" "two";			/* expect: 219 */
11 char concat3[] = "one" "two" "three";		/* expect: 219 */
12 char concat4[] = "one" "two" "three" "four";	/* expect: 219 */
13