1 // Test that there was an illegal WRITE memory access. 2 // RUN: %clangxx -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s 3 4 // REQUIRES: stable-runtime 5 // XFAIL: powerpc64, s390x 6 7 volatile int *null = 0; 8 9 int main(int argc, char **argv) { 10 *null = 0; 11 return 0; 12 } 13 14 // CHECK: The signal is caused by a WRITE memory access. 15