18 lines · c
1// RUN: %clang_cc1 -no-enable-noundef-analysis -emit-llvm -triple i686-apple-darwin -mregparm 3 %s -o - | FileCheck %s2// PR39673 4enum kobject_action {5 KOBJ_ADD,6 KOBJ_REMOVE,7 KOBJ_CHANGE,8 KOBJ_MOVE,9 KOBJ_ONLINE,10 KOBJ_OFFLINE,11 KOBJ_MAX12};13 14struct kobject;15 16// CHECK: i32 inreg %action17void kobject_uevent(struct kobject *kobj, enum kobject_action action) {}18