[llvm-commits] [llvm] r70856 - /llvm/trunk/test/FrontendC/2009-05-04-EnumInreg.c
Duncan Sands
baldrick at free.fr
Mon May 4 05:54:15 PDT 2009
Author: baldrick
Date: Mon May 4 07:54:02 2009
New Revision: 70856
URL: http://llvm.org/viewvc/llvm-project?rev=70856&view=rev
Log:
Testcase for PR3967.
Added:
llvm/trunk/test/FrontendC/2009-05-04-EnumInreg.c
Added: llvm/trunk/test/FrontendC/2009-05-04-EnumInreg.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2009-05-04-EnumInreg.c?rev=70856&view=auto
==============================================================================
--- llvm/trunk/test/FrontendC/2009-05-04-EnumInreg.c (added)
+++ llvm/trunk/test/FrontendC/2009-05-04-EnumInreg.c Mon May 4 07:54:02 2009
@@ -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) {}
More information about the llvm-commits
mailing list