[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / ubsan-volatile.c
blobce54aada81fd51fcfea90c93384cc0b36b33916c
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsanitize=null,alignment,object-size,vptr -S -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;