Document gcov-io (PR gcov-profile/84735).
[official-gcc.git] / gcc / testsuite / gcc.dg / lto / 20090218-2_1.c
blobf7cdb4253a67cc795dedb4117bcec3cda35dd9cb
1 /* { dg-options { -fgnu89-inline } } */
2 typedef struct {
3 } mem_attrs;
4 int main(void)
6 return 0;
8 void *malloc(__SIZE_TYPE__ size);
9 void *memcpy(void *dest, const void *src, __SIZE_TYPE__ n);
10 static mem_attrs * get_mem_attrs () {
11 void **slot;
12 *slot = malloc (3);
13 memcpy (*slot, 0, 3);
15 void set_mem_attributes () {
16 get_mem_attrs ();
18 void set_mem_alias_set () {
19 get_mem_attrs ();