Testcase for PR3967.

llvm-svn: 70856
This commit is contained in:
Duncan Sands 2009-05-04 12:54:02 +00:00
parent 0a0cc2d7b7
commit d84881ec53
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
// RUN: llvm-gcc -S -m32 -mregparm=3 %s -emit-llvm -o - | grep {inreg %action}
// XTARGET: x86
// 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) {}