blob: fdf07ead6de7416f96df5e1daf254a20dac761be [file] [log] [blame]
Anton Korobeynikov980d60a2009-04-04 00:49:38 +00001// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm -o - | grep inreg | count 2
2
3#define FASTCALL __attribute__((regparm(2)))
4
5typedef struct {
6 int aaa;
7 double bbbb;
8 int ccc[200];
9} foo;
10
11static void FASTCALL
12reduced(char b, double c, foo* d, double e, int f)
13{
14}
15
16int
17main(void) {
18 reduced(0, 0.0, 0, 0.0, 0);
19}