Sign in
cobalt
/
cobalt
/
6c3b32a7dc6eaf2946073e6fa29281b8cb58f1e3
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGen
/
ubsan-volatile.c
blob: ce54aada81fd51fcfea90c93384cc0b36b33916c [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsanitize=null,alignment,object-size,vptr -S -emit-llvm %s -o - | FileCheck %s
// CHECK: @volatile_null_deref
void
volatile_null_deref
(
volatile
int
*
p
)
{
// CHECK-NOT: call{{.*}}ubsan
*
p
;
}