Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / funcdef-attr-1.c
blob17249a0cb9e91b8696ef6abf29e9f273898c3abc
1 /* The declarator in a function definition should be able to take the
2 form of an attributed function declarator, not just a plain
3 function declarator. This was formerly allowed by some of the code
4 but then the wrong constraint checks were made because other code
5 didn't recognise the declarator as being that of the function
6 definition. */
7 /* Origin: Joseph Myers <jsm@polyomino.org.uk>. */
9 int (__attribute__((const)) x) (a, b)
10 int a;
11 int b;
13 return a + b;