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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [cleanup-6.C] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O" } */
3
/* Verify that a cleanup marked "inline" gets inlined.  */
4
 
5
static inline void xyzzy(void *p __attribute__((unused)))
6
{
7
}
8
 
9
void doit(void)
10
{
11
  int x __attribute__((cleanup (xyzzy)));
12
}
13
 
14
/* { dg-final { scan-assembler-not "xyzzy" } } */

powered by: WebSVN 2.1.0

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