Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr15443-2.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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)); |