// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-darwin10 -fsanitize=unsigned-integer-overflow %s -emit-llvm -o - | FileCheck %s
// Verify checked operations are emitted for integers and longs.
// unsigned short/char's tested in unsigned-promotion.c
unsigned long li, lj, lk;
unsigned int ii, ij, ik;
extern void ;
extern void ;
// CHECK-LABEL: define{{.*}} void @testlongadd()
void
// CHECK-LABEL: define{{.*}} void @testlongsub()
void
// CHECK-LABEL: define{{.*}} void @testlongmul()
void
// CHECK-LABEL: define{{.*}} void @testlongpostinc()
void
// CHECK-LABEL: define{{.*}} void @testlongpreinc()
void
// CHECK-LABEL: define{{.*}} void @testintadd()
void
// CHECK-LABEL: define{{.*}} void @testintsub()
void
// CHECK-LABEL: define{{.*}} void @testintmul()
void
// CHECK-LABEL: define{{.*}} void @testintpostinc()
void
// CHECK-LABEL: define{{.*}} void @testintpreinc()
void