1 // Test that there was an illegal READ 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 volatile int a; 9 10 int main(int argc, char **argv) { 11 a = *null; 12 return 0; 13 } 14 15 // CHECK: The signal is caused by a READ memory access. 16