repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2009-05-04-EnumInreg.c
blob
0ea18b92691e09faa8c6d5c78b04a0f397fed2e5
1
// RUN: %clang_cc1 -no-enable-noundef-analysis -emit-llvm -triple i686-apple-darwin -mregparm 3 %s -o - | FileCheck %s
2
// PR3967
3
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
12
};
13
14
struct
kobject
;
15
16
// CHECK: i32 inreg %action
17
int
kobject_uevent
(
struct
kobject
*
kobj
,
enum
kobject_action action
) {}