Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
d961ea91e14fdf4047db3e891def9951ee7afde1
/
.
/
test
/
CodeGen
/
pr12251.c
blob: a644bb79da550b9538f96dd217fdf2c8a6b9b023 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -O1 -relaxed-aliasing -o - | FileCheck %s
enum
e1
{
e1_a
=
-
1
};
enum
e1 g1
(
enum
e1
*
x
)
{
return
*
x
;
}
// CHECK: define i32 @g1
// CHECK: load i32* %x, align 4
// CHECK-NOT: range
// CHECK: ret