diff options
Diffstat (limited to 'test/FrontendC')
-rw-r--r-- | test/FrontendC/2009-05-04-EnumInreg.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/FrontendC/2009-05-04-EnumInreg.c b/test/FrontendC/2009-05-04-EnumInreg.c new file mode 100644 index 0000000..8a76f5f --- /dev/null +++ b/test/FrontendC/2009-05-04-EnumInreg.c @@ -0,0 +1,17 @@ +// RUN: %llvmgcc -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) {} |