[RISCV] Add RVVConstraint to SiFive custom matrix multiply instructions. (#124055)
[llvm-project.git] / compiler-rt / test / sanitizer_common / TestCases / Posix / illegal_write_test.cpp
blob9b94b8d0237ce97ab44234639006cef18b258f5c
1 // Test that there was an illegal WRITE memory access.
2 // Fails with debug checks: https://bugs.llvm.org/show_bug.cgi?id=46860
3 // XFAIL: !compiler-rt-optimized && tsan
4 // RUN: %clangxx -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
6 // REQUIRES: stable-runtime
7 // XFAIL: target={{(powerpc64|s390x).*}}
9 volatile int *null = 0;
11 int main(int argc, char **argv) {
12 *null = 0;
13 return 0;
16 // CHECK: The signal is caused by a WRITE memory access.