[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / 2009-05-04-EnumInreg.c
blob0ea18b92691e09faa8c6d5c78b04a0f397fed2e5
1 // RUN: %clang_cc1 -no-enable-noundef-analysis -emit-llvm -triple i686-apple-darwin -mregparm 3 %s -o - | FileCheck %s
2 // PR3967
4 enum kobject_action {
5 KOBJ_ADD,
6 KOBJ_REMOVE,
7 KOBJ_CHANGE,
8 KOBJ_MOVE,
9 KOBJ_ONLINE,
10 KOBJ_OFFLINE,
11 KOBJ_MAX
14 struct kobject;
16 // CHECK: i32 inreg %action
17 int kobject_uevent(struct kobject *kobj, enum kobject_action action) {}