summaryrefslogtreecommitdiff
path: root/test/FrontendC/2009-05-04-EnumInreg.c
blob: 6dbdb54db5f63b94c6296ee3a3b8578e5950b051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// RUN: %llvmgcc -S -m32 -mregparm=3 %s -emit-llvm -o - | grep {inreg %action}
// XFAIL: *
// XTARGET: x86,i386,i686
// PR3967

enum kobject_action {
        KOBJ_ADD,
        KOBJ_REMOVE,
        KOBJ_CHANGE,
        KOBJ_MOVE,
        KOBJ_ONLINE,
        KOBJ_OFFLINE,
        KOBJ_MAX
};

struct kobject;

int kobject_uevent(struct kobject *kobj, enum kobject_action action) {}