summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/asan/TestCases/heap-overflow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/asan/TestCases/heap-overflow.cc')
-rw-r--r--compiler-rt/test/asan/TestCases/heap-overflow.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/test/asan/TestCases/heap-overflow.cc b/compiler-rt/test/asan/TestCases/heap-overflow.cc
index 1a5098a3432..d5797dc913b 100644
--- a/compiler-rt/test/asan/TestCases/heap-overflow.cc
+++ b/compiler-rt/test/asan/TestCases/heap-overflow.cc
@@ -3,6 +3,10 @@
// RUN: %clangxx_asan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s
// RUN: %clangxx_asan -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s
// RUN: ASAN_OPTIONS=print_stats=1 not %run %t 2>&1 | FileCheck %s
+
+// FIXME: Fix this test under GCC.
+// REQUIRES: Clang
+
#include <stdlib.h>
#include <string.h>
int main(int argc, char **argv) {
OpenPOWER on IntegriCloud