[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / ubsan-volatile.c
blob66e045bcc6b41b99ae42e22bbfa8a658400b1538
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsanitize=null,alignment,object-size,vptr -emit-llvm %s -o - | FileCheck %s
3 // CHECK: @volatile_null_deref
4 void volatile_null_deref(volatile int *p) {
5 // CHECK-NOT: call{{.*}}ubsan
6 *p;