OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr15443-2.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { 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));

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.