msg_146.c revision 1.4
1/*	$NetBSD: msg_146.c,v 1.4 2022/06/16 16:58:36 rillig Exp $	*/
2# 3 "msg_146.c"
3
4// Test for message: cannot take size/alignment of void [146]
5
6unsigned long
7example(void *ptr)
8{
9	/* expect+1: error: cannot take size/alignment of void [146] */
10	return sizeof(*ptr);
11}
12