Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/funcdef-attr-1.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
/* The declarator in a function definition should be able to take the form of an attributed function declarator, not just a plain function declarator. This was formerly allowed by some of the code but then the wrong constraint checks were made because other code didn't recognise the declarator as being that of the function definition. */ /* Origin: Joseph Myers <jsm@polyomino.org.uk>. */ int (__attribute__((const)) x) (a, b) int a; int b; { return a + b; }