aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/20020115-1.c
blob: 9d4ea5491f5c3d118d68015c59383dea7babf35c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */

/* Test attributes in function arguments.  */
/* Origin: Aldy Hernandez <aldyh@redhat.com>.  */

#define blah __attribute__((__mode__(QI)))

extern void bar(int *);

void foo (blah int abc)
{

	int b[sizeof(abc) == 1 ? 1 : -1];
	bar (b);
}