summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestCrash/crash.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CTestTestCrash/crash.cxx')
-rw-r--r--Tests/CTestTestCrash/crash.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestTestCrash/crash.cxx b/Tests/CTestTestCrash/crash.cxx
index 370c3fb..88d4b1d 100644
--- a/Tests/CTestTestCrash/crash.cxx
+++ b/Tests/CTestTestCrash/crash.cxx
@@ -1,6 +1,6 @@
// causes a segfault
int main()
{
- int* ptr = 0;
+ volatile int* ptr = 0;
*ptr = 1;
}