blob: c9a137ebb7cfe9836ce121be88a79e0145eb13f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* $OpenBSD: test-22.c,v 1.1 2006/05/03 18:45:25 cloder Exp $ */
/*
* Placed in the public domain by Chad Loder <cloder@openbsd.org>.
*
* Regression test for lint1 crash on expressions of the type:
*
* char *foo = { "literal" }
*/
/* ARGSUSED */
int
main(int argc, char* argv[])
{
const char *foo = { "bar" };
return 0;
}
|