blob: 2abc747caf27affa891813ef8d9d6f133ac36905 [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 -emit-llvm -triple i686-apple-darwin -mregparm 3 %s -o - | FileCheck %s
2// PR3967
3
4enum kobject_action {
5 KOBJ_ADD,
6 KOBJ_REMOVE,
7 KOBJ_CHANGE,
8 KOBJ_MOVE,
9 KOBJ_ONLINE,
10 KOBJ_OFFLINE,
11 KOBJ_MAX
12};
13
14struct kobject;
15
16// CHECK: i32 inreg %action
17int kobject_uevent(struct kobject *kobj, enum kobject_action action) {}