Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/noreturn-5.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-std=gnu99" } */ /* Check that 'noreturn' and 'volatile extern' are compatible. The testsuite uses -ansi -pedantic-errors by default, so this has to override. */ extern void xxx (int) __attribute__((noreturn)); typedef void voidfn (int); __volatile extern voidfn xxx;