OSDN Git Service

* gcc.dg/vect/vect-116.c: Add vect_int target requirement.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr15443-2.c
1 /* { dg-do compile } */
2
3 struct foo {
4         int bar;
5 };
6
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__));
12
13 struct foo j () __attribute__ ((__malloc__)); /* { dg-warning "ignored" } */
14 struct foo* k () __attribute__ ((__malloc__));
15 bar l () __attribute__((malloc));