1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -O1 -relaxed-aliasing -o - | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc enum e1 {e1_a = -1 }; g1(enum e1 * x)4*f4a2713aSLionel Sambucenum e1 g1(enum e1 *x) { 5*f4a2713aSLionel Sambuc return *x; 6*f4a2713aSLionel Sambuc } 7*f4a2713aSLionel Sambuc 8*f4a2713aSLionel Sambuc // CHECK-LABEL: define i32 @g1 9*f4a2713aSLionel Sambuc // CHECK: load i32* %x, align 4 10*f4a2713aSLionel Sambuc // CHECK-NOT: range 11*f4a2713aSLionel Sambuc // CHECK: ret 12