comparison gcc/testsuite/gcc.dg/cleanup-6.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { 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" } } */