// RUN: %clang_cc1 -fsanitize=local-bounds -emit-llvm -triple x86_64-apple-darwin10 %s -o - | FileCheck %s
// RUN: %clang_cc1 -fsanitize=array-bounds -O -fsanitize-trap=array-bounds -emit-llvm -triple x86_64-apple-darwin10 -DNO_DYNAMIC %s -o - | FileCheck %s --check-prefixes=CHECK,NONLOCAL
//
// REQUIRES: x86-registered-target
// CHECK-LABEL: @f
double
// CHECK-LABEL: @f2
void
// CHECK-LABEL: @f3
void
;
// CHECK-LABEL: define {{.*}} @f4
int
// CHECK-LABEL: define {{.*}} @f5
int
int