summaryrefslogtreecommitdiff
path: root/regress/gnu/egcs/gcc-builtins/strcpy-2.c
blob: 3862ff16ff67e5b4edc16233dc3a8d5a5f0f0ce5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <string.h>

int
main(int argc, char **argv)
{
	char buf[10];

	/* This expression can be folded. */
	strcpy(buf, "foo");

	return (1);
}