PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / pr15443-2.c
blobd97fa2573ac335771c72ff01b3823942b6a7f14c
1 /* { dg-do compile } */
3 struct foo {
4 int bar;
5 };
7 typedef struct foo* bar;
8 void f () __attribute__ ((__malloc__)); /* { dg-warning "ignored" } */
9 int g () __attribute__ ((__malloc__)); /* { dg-warning "ignored" } */
10 int* h () __attribute__ ((__malloc__));
11 void* i () __attribute__ ((__malloc__));
13 struct foo j () __attribute__ ((__malloc__)); /* { dg-warning "ignored" } */
14 struct foo* k () __attribute__ ((__malloc__));
15 bar l () __attribute__((malloc));