summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/msg_276.c
blob: 41233feb6e96eb389c7f1f4acfd5a949dbf3f36a (plain)
1
2
3
4
5
6
7
8
9
10
11
/*	$NetBSD: msg_276.c,v 1.5 2023/03/28 14:44:35 rillig Exp $	*/
# 3 "msg_276.c"

// Test for message: '__%s__' is illegal for type '%s' [276]

/* lint1-extra-flags: -X 351 */

/* expect+1: error: '__real__' is illegal for type 'double' [276] */
int real_int = __real__ 0.0;
/* expect+1: error: '__imag__' is illegal for type 'double' [276] */
int imag_int = __imag__ 0.0;